CITE Test

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

CITE Test

bumbala

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&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:null>unknown</gml:null>

   </gml:boundedBy>

   <!--Response received in [15922] milliseconds--></wfs:FeatureCollection>

 

Result: Failed

 

 

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

 

Thanks.


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Geoserver-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: CITE Test

bumbala
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 <[hidden email]>

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&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:null>unknown</gml:null>

   </gml:boundedBy>

   <!--Response received in [15922] milliseconds--></wfs:FeatureCollection>

 

Result: Failed

 

 

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

 

Thanks.



------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Geoserver-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users