Opened 14 years ago
#3373 new defect
dateProperty and dateTimeProperty formats in the GetFeature response are not valid
Reported by: | nsavard | Owned by: | mapserverbugs |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | WMS Server | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | wfs1.1 getfeature date datetime format |
Cc: | assefa, tomkralidis |
Description
The dateProperty and dateTimeProperty have to follow the date and dateTime formats described by the http://www.w3.org/2001/XMLSchema namespace. A description of these formats could be found here:
http://www.w3schools.com/schema/schema_dtypes_date.asp
Request:
URL: http://gw.mapgears.com:8500/cgi-bin/mswfs110_ogc_cite? Body: <wfs:GetFeature xmlns="http://www.occamlab.com/ctl" xmlns:ctl="http://www.occamlab.com/ctl" xmlns:gml="http://www.opengis.net/gml" xmlns:myparsers="http://teamengine.sourceforge.net/parsers" xmlns:ogc="http://www.opengis.net/ogc" xmlns:ows="http://www.opengis.net/ows" xmlns:p="http://teamengine.sourceforge.net/parsers" xmlns:parsers="http://www.occamlab.com/te/parsers" xmlns:saxon="http://saxon.sf.net/" xmlns:sf="http://cite.opengeospatial.org/gmlsf" xmlns:te="http://www.occamlab.com/te" xmlns:tec="java:com.occamlab.te.TECore" xmlns:wfs="http://www.opengis.net/wfs" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" service="WFS" version="1.1.0"> <wfs:Query srsName="urn:x-ogc:def:crs:EPSG:4326" typeName="sf:PrimitiveGeoFeature"> <wfs:PropertyName>sf:dateProperty</wfs:PropertyName> <wfs:PropertyName>sf:dateTimeProperty</wfs:PropertyName> </wfs:Query> </wfs:GetFeature>
The test is:
Post request: wfs-1.1.0-Basic-GetFeature-tc15.2
Note:
See TracTickets
for help on using tickets.