Opened 12 years ago

Closed 12 years ago

#4439 closed defect (fixed)

[WFS/GML] XSD parser doesn't accept date or dateTime field types

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.9.1
Component: OGR_SF Version: 1.9.0
Severity: normal Keywords: wfs gml date datetime
Cc:

Description

The XSD parser is stricter than it used to be, and will bail out in face or date or dateTime field types. Which can be annoying for WFS for example (like for http://maps.gns.cri.nz/geoserver21/wfs?SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=gns:PETROLEUM.NZ_2D_SEIS_SURVEYS )

Make it recognize those fields as strings, which is better than nothing. Ideal would be to map that to proper OFTDate/OFTDateTime.

Change History (1)

comment:1 by Even Rouault, 12 years ago

Resolution: fixed
Status: newclosed

First part of the fix commited in trunk in r23693 (for date). Second part in r23748 (for dateTime). Both backported to 1.9 in r23749

Note: See TracTickets for help on using tickets.