[Geoserver-devel] WFS CITE failures

I'm running the online tests first, mostly because I just got the offline tests and have to get up to speed on them first.

I'll get back to WMS and WCS, there are a few failures there as well.

-Arne

WFS 1.0.0 (old engine):
It looks like we're missing PropertyIsLike ? There are some failures related to this in 1.1.0 as well, which I'll ignore for now.

WFS 1.1.0 (new engine):
We are returning urn:x-ogc:def:crs:EPSG:4326 , it seems to want urn:x-ogc:def:crs:EPSG:6.11.2:4326 ?

There are some more failures, but I think they may be byproducts of the 1.0.0 failure.

WFS 1.0.0:

*Test Path* wfs/1.0.0/basic/getfeature/filter/comparisonoperators/get/18 <http://cite.opengeospatial.org/tsOGC/interface/ViewTestSource?testid=wfs/1.0.0/basic/getfeature/filter/comparisonoperators/get/18&ts=0104&sesstype=OGC&gt;

*Result* FAILED
*Test Scope* The Server supports WFS GetFeature operations over HTTP GET.
The Server supports the Like comparison operator.
*Type* auto
*For Device* server
*Time Executed* Wed Apr 22 09:34:59 EDT 2009
*Client Name* fbl77-1-88-163-0-55.fbx.proxad.net
*User Agent Information* Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.8) Gecko/2009033100 Ubuntu/9.04 (jaunty) Firefox/3.0.8
*Accept Header Information* text/html
application/xhtml+xml
application/xml;q=0.9
*/*;q=0.8
*Responses* *Response from request : 1*

      *Headers*

      Header Name Value
      Date Wed, 22 Apr 2009 13:34:59 GMT
      Server Jetty(6.1.8)
      Content-Type text/xml; charset=utf-8
      Keep-Alive timeout=5, max=56
      Connection Keep-Alive
      Transfer-Encoding chunked

      *Body (after any custom transformation) :*

      <?xml version="1.0" encoding="UTF-8"?>
      <ServiceExceptionReport xmlns="http://www.opengis.net/ogc&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; version="1.2.0" xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd&quot;&gt;
        <ServiceException>java.lang.NoSuchMethodError: org.opengis.filter.PropertyIsLike.isMatchingCase()Z org.opengis.filter.PropertyIsLike.isMatchingCase()Z</ServiceException>
      </ServiceExceptionReport>

*Errors*
Variable Name/
ResponseID Variable Type Expected Actual Match Type Messages
1 REQUEST
XPATH true false AND

WFS 1.1.0:

Log for test s0075/w6ac13b3c23b3b1_1/w6ab5b1c11b9b5b5b9b3_1/w6ab7c13b7c15b3c13b1_1/w6ab7c11c11b7c45_1/w6ab7c11c53c11b3b3b7_1

Test ctl:assert-xpath (s0075/w6ac13b3c23b3b1_1/w6ab5b1c11b9b5b5b9b3_1/w6ab7c13b7c15b3c13b1_1/w6ab7c11c11b7c45_1/w6ab7c11c53c11b3b3b7_1)

Assertion:
        Evaluates the given XPath expression against the input document and
        returns a boolean result according to the XPath specification (see
        http://www.w3.org/TR/xpath#section-Boolean-Functions).
       
Parameter expr:
   Label: //@srsName='urn:x-ogc:def:crs:EPSG:6.11.2:4326'
   Value: //@srsName='urn:x-ogc:def:crs:EPSG:6.11.2:4326'
Parameter doc:
   Label: <wfs:FeatureCollection>
   Value:
              <wfs:FeatureCollection xmlns:xsd="http://www.w3.org/2001/XMLSchema&quot;
                       xmlns:sf="http://cite.opengeospatial.org/gmlsf&quot;
                       xmlns:ogc="http://www.opengis.net/ogc&quot;
                       xmlns:saxon="http://saxon.sf.net/&quot;
                       xmlns:p="http://teamengine.sourceforge.net/parsers&quot;
                       xmlns:xlink="http://www.w3.org/1999/xlink&quot;
                       xmlns:gml="http://www.opengis.net/gml&quot;
                       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
                       xmlns:ows="http://www.opengis.net/ows&quot;
                       xmlns:ctl="http://www.occamlab.com/ctl&quot;
                       xmlns:xi="http://www.w3.org/2001/XInclude&quot;
                       xmlns:te="java:com.occamlab.te.TECore"
                       xmlns:parsers="http://www.occamlab.com/te/parsers&quot;
                       xmlns:myparsers="http://teamengine.sourceforge.net/parsers&quot;
                       xmlns:wfs="http://www.opengis.net/wfs&quot;
                       numberOfFeatures="5"
                       timeStamp="2009-04-22T10:08:00.368-04:00"
                       xsi:schemaLocation="http://www.opengis.net/wfs http://testing.geoserver.org:80/geoserver/schemas/wfs/1.1.0/wfs.xsd http://cite.opengeospatial.org/gmlsf http://testing.geoserver.org:80/geoserver/wfs?service=WFS&amp;version=1.1.0&amp;request=DescribeFeatureType&amp;typeName=sf:PrimitiveGeoFeature&quot;&gt;
            <gml:boundedBy>
               <gml:Envelope srsName="urn:x-ogc:def:crs:EPSG:4326">
                  <gml:lowerCorner>45.174 30.466</gml:lowerCorner>
                  <gml:upperCorner>45.891 30.899</gml:upperCorner>
               </gml:Envelope>
            </gml:boundedBy>
            <gml:featureMembers>
               <sf:PrimitiveGeoFeature gml:id="PrimitiveGeoFeature.f001">
                  <gml:description>description-f001</gml:description>
                  <gml:name>name-f001</gml:name>
                  <gml:boundedBy>
                     <gml:Envelope srsName="urn:x-ogc:def:crs:EPSG:4326">
                        <gml:lowerCorner>39.73245 2.00342</gml:lowerCorner>
                        <gml:upperCorner>39.73245 2.00342</gml:upperCorner>
                     </gml:Envelope>
                  </gml:boundedBy>
                  <sf:pointProperty>
                     <gml:Point srsName="urn:x-ogc:def:crs:EPSG:4326">
                        <gml:pos>39.73245 2.00342</gml:pos>
                     </gml:Point>
                  </sf:pointProperty>
                  <sf:intProperty>155</sf:intProperty>
                  <sf:uriProperty>http://www.opengeospatial.org/&lt;/sf:uriProperty&gt;
                  <sf:measurand>12765.0</sf:measurand>
                  <sf:dateProperty>2006-10-25Z</sf:dateProperty>
                  <sf:decimalProperty>5.03</sf:decimalProperty>
               </sf:PrimitiveGeoFeature>
               <sf:PrimitiveGeoFeature gml:id="PrimitiveGeoFeature.f002">
                  <gml:description>description-f002</gml:description>
                  <gml:name>name-f002</gml:name>
                  <gml:boundedBy>
                     <gml:Envelope srsName="urn:x-ogc:def:crs:EPSG:4326">
                        <gml:lowerCorner>59.41276 0.22601</gml:lowerCorner>
                        <gml:upperCorner>59.41276 0.22601</gml:upperCorner>
                     </gml:Envelope>
                  </gml:boundedBy>
                  <sf:pointProperty>
                     <gml:Point srsName="urn:x-ogc:def:crs:EPSG:4326">
                        <gml:pos>59.41276 0.22601</gml:pos>
                     </gml:Point>
                  </sf:pointProperty>
                  <sf:intProperty>154</sf:intProperty>
                  <sf:uriProperty>http://www.opengeospatial.org/&lt;/sf:uriProperty&gt;
                  <sf:measurand>12769.0</sf:measurand>
                  <sf:dateProperty>2006-10-23Z</sf:dateProperty>
                  <sf:decimalProperty>4.02</sf:decimalProperty>
               </sf:PrimitiveGeoFeature>
               <sf:PrimitiveGeoFeature gml:id="PrimitiveGeoFeature.f003">
                  <gml:description>description-f003</gml:description>
                  <gml:name>name-f003</gml:name>
                  <gml:boundedBy>
                     <gml:Envelope srsName="urn:x-ogc:def:crs:EPSG:4326">
                        <gml:lowerCorner>46.074 9.799</gml:lowerCorner>
                        <gml:upperCorner>47.114 11.021</gml:upperCorner>
                     </gml:Envelope>
                  </gml:boundedBy>
                  <sf:curveProperty>
                     <gml:LineString srsName="urn:x-ogc:def:crs:EPSG:4326">
                        <gml:posList>46.074 9.799 46.652 10.466 47.114 11.021</gml:posList>
                     </gml:LineString>
                  </sf:curveProperty>
                  <sf:intProperty>180</sf:intProperty>
                  <sf:measurand>672.1</sf:measurand>
                  <sf:dateProperty>2006-09-01Z</sf:dateProperty>
                  <sf:decimalProperty>12.92</sf:decimalProperty>
               </sf:PrimitiveGeoFeature>
               <sf:PrimitiveGeoFeature gml:id="PrimitiveGeoFeature.f008">
                  <gml:description>description-f008</gml:description>
                  <gml:name>name-f008</gml:name>
                  <gml:boundedBy>
                     <gml:Envelope srsName="urn:x-ogc:def:crs:EPSG:4326">
                        <gml:lowerCorner>45.174 30.466</gml:lowerCorner>
                        <gml:upperCorner>45.891 30.899</gml:upperCorner>
                     </gml:Envelope>
                  </gml:boundedBy>
                  <sf:surfaceProperty>
                     <gml:Polygon srsName="urn:x-ogc:def:crs:EPSG:4326">
                        <gml:exterior>
                           <gml:LinearRing>
                              <gml:posList>45.174 30.899 45.652 30.466 45.891 30.466 45.174 30.899</gml:posList>
                           </gml:LinearRing>
                        </gml:exterior>
                     </gml:Polygon>
                  </sf:surfaceProperty>
                  <sf:intProperty>300</sf:intProperty>
                  <sf:measurand>783.5</sf:measurand>
                  <sf:dateTimeProperty>2006-06-28T01:08:00-04:00</sf:dateTimeProperty>
                  <sf:dateProperty>2006-12-12Z</sf:dateProperty>
                  <sf:decimalProperty>18.92</sf:decimalProperty>
               </sf:PrimitiveGeoFeature>
               <sf:PrimitiveGeoFeature gml:id="PrimitiveGeoFeature.f015">
                  <gml:name>name-f015</gml:name>
                  <gml:boundedBy>
                     <gml:Envelope srsName="urn:x-ogc:def:crs:EPSG:4326">
                        <gml:lowerCorner>34.94 -10.52</gml:lowerCorner>
                        <gml:upperCorner>34.94 -10.52</gml:upperCorner>
                     </gml:Envelope>
                  </gml:boundedBy>
                  <sf:pointProperty>
                     <gml:Point srsName="urn:x-ogc:def:crs:EPSG:4326">
                        <gml:pos>34.94 -10.52</gml:pos>
                     </gml:Point>
                  </sf:pointProperty>
                  <sf:intProperty>-900</sf:intProperty>
                  <sf:measurand>2.4</sf:measurand>
                  <sf:decimalProperty>7.9</sf:decimalProperty>
               </sf:PrimitiveGeoFeature>
            </gml:featureMembers>
         </wfs:FeatureCollection>

Message w6ab1b3b7b1b1b3b1:
   The expression '//@srsName='urn:x-ogc:def:crs:EPSG:6.11.2:4326'' is false.

Result: Failed

--
Arne Kepp
OpenGeo - http://opengeo.org
Expert service straight from the developers

Arne Kepp ha scritto:

I'm running the online tests first, mostly because I just got the offline tests and have to get up to speed on them first.

I'll get back to WMS and WCS, there are a few failures there as well.

-Arne

WFS 1.0.0 (old engine):
It looks like we're missing PropertyIsLike ? There are some failures related to this in 1.1.0 as well, which I'll ignore for now.

This one seems related to missing cdf:Other type. Config issue I guess.
Investigating.

WFS 1.1.0 (new engine):
We are returning urn:x-ogc:def:crs:EPSG:4326 , it seems to want urn:x-ogc:def:crs:EPSG:6.11.2:4326 ?

Meh, this one is because we've been running the engines from svn
instead of the online one, and the two versions do demand different
representations of the urn form. Both are valid, using a regexp to match
_any_ valid representation of the urn was probably too hard eh? :-p

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Andrea Aime wrote:

Arne Kepp ha scritto:

I'm running the online tests first, mostly because I just got the offline tests and have to get up to speed on them first.

I'll get back to WMS and WCS, there are a few failures there as well.

-Arne

WFS 1.0.0 (old engine):
It looks like we're missing PropertyIsLike ? There are some failures related to this in 1.1.0 as well, which I'll ignore for now.

This one seems related to missing cdf:Other type. Config issue I guess.
Investigating.

Have you recently updated the citewfs-1.0 data directory. I recetnly tweaked the schema a bit to use the new schema encoder on 1.7.x for wfs 1.0.0. See:

http://jira.codehaus.org/browse/GEOS-2869

I ran cite after making the changes and all the tests passed for me.

WFS 1.1.0 (new engine):
We are returning urn:x-ogc:def:crs:EPSG:4326 , it seems to want urn:x-ogc:def:crs:EPSG:6.11.2:4326 ?

Meh, this one is because we've been running the engines from svn
instead of the online one, and the two versions do demand different
representations of the urn form. Both are valid, using a regexp to match
_any_ valid representation of the urn was probably too hard eh? :-p

The online engine tests are out of date, and should not be used imo. This date stamp was sort of a temporary thing that as far as I know got thrown out. Also there are a lot more tests in svn than the online version.

Cheers
Andrea

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

Justin Deoliveira ha scritto:

Meh, this one is because we've been running the engines from svn
instead of the online one, and the two versions do demand different
representations of the urn form. Both are valid, using a regexp to match
_any_ valid representation of the urn was probably too hard eh? :-p

The online engine tests are out of date, and should not be used imo. This date stamp was sort of a temporary thing that as far as I know got thrown out. Also there are a lot more tests in svn than the online version.

There is still one decent reason to use the online tests. If we want to
certify any GS release to be compliant we have to pass the official
tests afaik (the certification request link is there at least).

Given that OGC still hasn't uploaded the tests that were developed
one year ago well, I would say I'm not holding my breath for that to
happen.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Andrea Aime wrote:

Justin Deoliveira ha scritto:

Meh, this one is because we've been running the engines from svn
instead of the online one, and the two versions do demand different
representations of the urn form. Both are valid, using a regexp to match
_any_ valid representation of the urn was probably too hard eh? :-p

The online engine tests are out of date, and should not be used imo. This date stamp was sort of a temporary thing that as far as I know got thrown out. Also there are a lot more tests in svn than the online version.

There is still one decent reason to use the online tests. If we want to
certify any GS release to be compliant we have to pass the official
tests afaik (the certification request link is there at least).

Good point, but I am pretty sure we could argue that since we pass the tests in svn are indeed compliant. I am not sure there are an "official" set of wfs 1.1 tests since for the xlink stuff the cite group was definitely using the svn version of the tests.

Given that OGC still hasn't uploaded the tests that were developed
one year ago well, I would say I'm not holding my breath for that to
happen.

Actually it seems that some of the cite folks are working on getting the new set of wfs 1.1 tests to be the official. I received some private emails from them testing the tests against geoserver 1.7.x. So the online engine should be updated at some point soon.

Cheers
Andrea

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.