Ticket #907 (closed defect: fixed)

Opened 4 years ago

Last modified 11 months ago

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

Changed 3 years ago by jbirch

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

Changed 3 years ago by ksgeograf

  • version changed from 2.0.1 to 2.1.0

Yep, still a problem with 2.1

Changed 3 years ago by ksgeograf

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".

Changed 11 months ago by jng

  • milestone set to 2.4

Changed 11 months ago by jng

  • status changed from new to closed
  • resolution set to fixed

DESCRIBESCHEMA no longer uses fdo: prefixed data types for properties

Note: See TracTickets for help on using tickets.