[Geoserver-users] CITE Test

Hi,

I did everything described in “CITE Test Guide” for GeoServer 2.2.x. However, WFS 1.0.0 Test fails 11 subtests. Below is an example:

Log for test s0001/d1e1121_1

Test wfs:test1.0.0-basic-getfeature-filter-comparisonoperators-get-14 (s0001/d1e1121_1)

Assertion: This test checks that the PropertyIsLessThan operator returns the correct feature for a date comparisson with the value greater than the expected value of the property.

Request d1e7997_1:

Method: get

URL: http://mapcodexpublish.com:1453/mapcodex/wfs?request=GetFeature&service=WFS&version=1.0.0&request=GetFeature&outputformat=GML2&typename=cdf:Other&filter=<ogc%3AFilter+xmlns%3Aogc%3D"http%3A%2F%2Fwww.opengis.net%2Fogc"+xmlns%3Acdf%3D"http%3A%2F%2Fwww.opengis.net%2Fcite%2Fdata"><ogc%3APropertyIsLessThan><ogc%3APropertyName>cdf%3Adates<%2Fogc%3APropertyName><ogc%3ALiteral>2002-12-03<%2Fogc%3ALiteral><%2Fogc%3APropertyIsLessThan><%2Fogc%3AFilter>

Response from parser wfs:GMLValidatingParser:

<wfs:FeatureCollection xmlns=“http://www.opengis.net/wfs” xmlns:cdf=“http://www.opengis.net/cite/data

xmlns:gml=“http://www.opengis.net/gml

xmlns:wfs=“http://www.opengis.net/wfs

xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance

xsi:schemaLocation=“http://www.opengis.net/cite/data http://mapcodexpublish.com:1453/mapcodex/wfs?service=WFS&amp;version=1.0.0&amp;request=DescribeFeatureType&amp;typeName=cdf%3AOther http://www.opengis.net/wfs http://mapcodexpublish.com:1453/mapcodex/schemas/wfs/1.0.0/WFS-basic.xsd”>

gml:boundedBy

gml:nullunknown</gml:null>

</gml:boundedBy>

Result: Failed

I wonder where did I do wrong? Any help would be appreciated.

Thanks.

Looks like this is a Locale issue. The request returns the true result with “03.12.2002” or “2002.12.03” values. However, does not work with “2002-12-03”. My Locale setting in PostgreSQL is Turkish_Turkey.1254. Tried to change the DateStyle variable but it did not help. Any ideas?

Thanks.

2013/3/7 Tolga Akyay <bumbala@anonymised.com>

Hi,

I did everything described in “CITE Test Guide” for GeoServer 2.2.x. However, WFS 1.0.0 Test fails 11 subtests. Below is an example:

Log for test s0001/d1e1121_1

Test wfs:test1.0.0-basic-getfeature-filter-comparisonoperators-get-14 (s0001/d1e1121_1)

Assertion: This test checks that the PropertyIsLessThan operator returns the correct feature for a date comparisson with the value greater than the expected value of the property.

Request d1e7997_1:

Method: get

URL: http://mapcodexpublish.com:1453/mapcodex/wfs?request=GetFeature&service=WFS&version=1.0.0&request=GetFeature&outputformat=GML2&typename=cdf:Other&filter=%3Cogc%3AFilter+xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22+xmlns%3Acdf%3D%22http%3A%2F%2Fwww.opengis.net%2Fcite%2Fdata%22%3E%3Cogc%3APropertyIsLessThan%3E%3Cogc%3APropertyName%3Ecdf%3Adates%3C%2Fogc%3APropertyName%3E%3Cogc%3ALiteral%3E2002-12-03%3C%2Fogc%3ALiteral%3E%3C%2Fogc%3APropertyIsLessThan%3E%3C%2Fogc%3AFilter%3E

Response from parser wfs:GMLValidatingParser:

<wfs:FeatureCollection xmlns=“http://www.opengis.net/wfs” xmlns:cdf=“http://www.opengis.net/cite/data

xmlns:gml=“http://www.opengis.net/gml

xmlns:wfs=“http://www.opengis.net/wfs

xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance

xsi:schemaLocation=“http://www.opengis.net/cite/data http://mapcodexpublish.com:1453/mapcodex/wfs?service=WFS&version=1.0.0&request=DescribeFeatureType&typeName=cdf%3AOther http://www.opengis.net/wfs http://mapcodexpublish.com:1453/mapcodex/schemas/wfs/1.0.0/WFS-basic.xsd”>

gml:boundedBy

gml:nullunknown</gml:null>

</gml:boundedBy>

Result: Failed

I wonder where did I do wrong? Any help would be appreciated.

Thanks.