Opened 15 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 jbirch, 14 years ago

Guessing this is still an issue with 2.1... if so, could you please update the version and if not please close the ticket?

comment:2 by ksgeograf, 14 years ago

Version: 2.0.12.1.0

Yep, still a problem with 2.1

comment:3 by ksgeograf, 14 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 jng, 12 years ago

Milestone: 2.4

comment:5 by jng, 12 years ago

Resolution: fixed
Status: newclosed

DESCRIBESCHEMA no longer uses fdo: prefixed data types for properties

Note: See TracTickets for help on using tickets.