WFS data store fails to properly encode filters involving times
---------------------------------------------------------------
Key: GEOT-3667
URL: https://jira.codehaus.org/browse/GEOT-3667
Project: GeoTools
Issue Type: Bug
Components: wfs plugin, xsd extensions
Affects Versions: 8.0-M0
Reporter: Andrea Aime
Assignee: Gabriel Roldán
Fix For: 8.0-M1
Tisham was trying to use wms time support by wfs-cascading another server and
got this request sent away while doing the wms ones:
{code}
<?xml version="1.0" encoding="UTF-8"?>
<wfs:GetFeature handle="GeoTools 8-SNAPSHOT WFS DataStore"
outputFormat="text/xml; subtype=gml/3.1.1" resultType="results"
service="WFS" version="1.1.0" xmlns:ogc="http://www.opengis.net/ogc"
xmlns:gml="http://www.opengis.net/gml"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:ows="http://www.opengis.net/ows" xmlns:wfs="http://www.opengis.net/wfs">
<wfs:Query srsName="urn:x-ogc:def:crs:EPSG:4326"
typeName="ECOBASE:CLS_MERGED_TESTDATE">
<wfs:PropertyName>SHAPE</wfs:PropertyName>
<ogc:Filter>
<ogc:And>
<ogc:PropertyIsEqualTo matchCase="true">
<ogc:PropertyName>DATE_START</ogc:PropertyName>
<ogc:Literal>Mon Mar 16 11:00:00 EST 2009</ogc:Literal>
</ogc:PropertyIsEqualTo>
<ogc:BBOX>
<ogc:PropertyName>SHAPE</ogc:PropertyName>
<gml:Envelope>
<gml:lowerCorner>-59.130630859375 98.14373437500001</gml:lowerCorner>
<gml:upperCorner>-12.561369140625 177.02326562500002</gml:upperCorner>
</gml:Envelope>
</ogc:BBOX>
</ogc:And>
</ogc:Filter>
</wfs:Query>
</wfs:GetFeature>
{code}
The timestamp above is not encoded in the expected form (ISO) so the
WFS server cannot parse it and throws an exception.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense..
http://p.sf.net/sfu/splunk-d2d-c1
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel