Schema created from ArcSDE feature class does not correspond to the definition
in the database
----------------------------------------------------------------------------------------------
Key: GEOS-3125
URL: http://jira.codehaus.org/browse/GEOS-3125
Project: GeoServer
Issue Type: Bug
Components: ArcSDE
Affects Versions: 1.7.4
Environment: ArcSDE 9.2 database
Reporter: Gerhard Sommer
Assignee: Andrea Aime
Priority: Minor
The schema, that I get from a feature type with the ArcSDE datastore looks like
this:
<xsd:schema elementFormDefault="qualified"
targetNamespace="http://www.wien.gv.at/ows/wfs/gml">
<xsd:import namespace="http://www.opengis.net/gml"
schemaLocation="http://ntsdeadv1:8080/geoserver/schemas/gml/2.1.2/feature.xsd"/>
<xsd:complexType name="TEST_KG_FType">
<xsd:complexContent>
<xsd:extension base="gml:AbstractFeatureType">
<xsd:sequence>
<xsd:element maxOccurs="1"
minOccurs="0" name="KGNR" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1"
minOccurs="0" name="GLOBALID" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1"
minOccurs="0" name="AREA" nillable="true" type="xsd:double"/>
<xsd:element maxOccurs="1"
minOccurs="0" name="LEN" nillable="true" type="xsd:double"/>
<xsd:element maxOccurs="1"
minOccurs="0" name="SHAPE" nillable="true" type="gml:MultiPolygonPropertyType"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="TEST_KG_F" substitutionGroup="gml:_Feature"
type="vienna:TEST_KG_FType"/>
</xsd:schema>
There is the following problem with this schema:
GLOBALID has the "NOT NULL" contraint defined in the database
Therefore the corresponding schema element should be
<xsd:element maxOccurs="1"
minOccurs="1" name="GLOBALID" nillable="false" type="xsd:string"/>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel