Opened 16 years ago
Closed 12 years ago
#907 closed defect (fixed)
WFS DESCRIBESCHEMA returns fdo:int32 for integer values
Reported by: | ksgeograf | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 2.4 |
Component: | WFS Interface | Version: | 2.1.0 |
Severity: | trivial | Keywords: | |
Cc: | External ID: |
Description
When issuing a DESCRIBESCHEMA call, the result contains this fragment:
<xs:element name="Autogenerated_SDF_ID" fdo:readOnly="true"
minOccurs="0" fdo:autogenerated="true">
<xs:simpleType>
<xs:restriction base="fdo:int32"/>
</xs:simpleType> <xs:annotation>
<xs:documentation>Autogenerated identity property</xs:documentation>
</xs:annotation>
</xs:element>
It is very unlikely that the WFS client has any idea what this type really is. Since it is just a 32bit integer, it should map to xs:integer instead.
Change History (5)
comment:1 by , 15 years ago
comment:3 by , 15 years ago
A related issue is that issuing DescribeSchema without a Typename gives an xml document with xs:import. However, the xs:import elements are missing the namespace attribute, which I belive is mandatory, and in any case breaks ArcGIS support.
Arc also needs the gml namespace imported explicitly:
<xs:import namespace="http://www.opengis.net/gml" schemaLocation="wfs-xsd/feature.xsd />
And finally, Arc is very happy if you also change "gml:AbstractGeometryType" to "gml:GeometryAssociationType".
comment:4 by , 12 years ago
Milestone: | → 2.4 |
---|
comment:5 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
DESCRIBESCHEMA no longer uses fdo: prefixed data types for properties
Guessing this is still an issue with 2.1... if so, could you please update the version and if not please close the ticket?