Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WFS 2.0: Get OGC compliance certificate #6965

Open
jratike80 opened this issue Nov 6, 2023 · 2 comments
Open

WFS 2.0: Get OGC compliance certificate #6965

jratike80 opened this issue Nov 6, 2023 · 2 comments

Comments

@jratike80
Copy link

jratike80 commented Nov 6, 2023

Some CITE tests fail.
Service used in the test: https://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetCapabilities

The complete Teamengine test report (XML) included as an attachment.

List of errors and interpretation (incomplete)

  • test-method status="FAIL" signature="getCapabilities_missingServiceParam()
    GetCapabilities without SERVICE=WFS should yield http 400 error.
    https://demo.mapserver.org/cgi-bin/wfs?VERSION=2.0.0&REQUEST=GetCapabilities
    Mapserver is sending http 200 and traditional
    mapserv(): Web application error. Traditional BROWSE mode requires a TEMPLATE in the WEB section, but none was provided.
  • test-method status="FAIL" signature="getFullCapabilities()
    GetFeature: the 'resolve' parameter must contain 'local' as an allowed value.
    Whatever it means but this is what Geoserver has in the GetCapabilities
<ows:Operation name="GetFeature">
...
<ows:Parameter name="resolve">
<ows:AllowedValues>
<ows:Value>none</ows:Value>
<ows:Value>local</ows:Value>
</ows:AllowedValues>

Corresponding part of the WFS 2.0. standard

7.6.4 Standard resolve parameters
7.6.4.1 Parameter Semantics
Servers that conform to this International Standard shall implement the ability to resolve local resource
references etc.

  • test-method status="FAIL" signature="describesBasicWFS(org.opengis.cite.iso19142.ProtocolBinding)
    The filter constraint 'ImplementsSorting' must be 'TRUE' for all conforming Basic WFS implementations.
    The demo server has
<fes:Constraint name="ImplementsSorting">
<ows:NoValues/>
<ows:DefaultValue>FALSE</ows:DefaultValue>
</fes:Constraint>

This may be due to the data layers in the demo service which do not support sorting (shapefiles?)

  • "FAIL" signature="inconsistentFeatureIdentifierAndType(javax.xml.namespace.QName)
    Error appears at line 1868 of the report. By the description Mapserver should send a http 400 error status but it sends OK.
    <![CDATA[Unexpected HTTP status code. expected [400] but found [200]]]>

  • <test-method status="FAIL" signature="getFeaturesByType(org.opengis.cite.iso19142.ProtocolBinding, javax.xml.namespace.QName)
    Line 2695: Test report contains many schema related warnings and one error:

Severity: ERROR
Message: src-resolve: Cannot resolve the name 'xlink:simpleAttrs' to a(n) 'attribute group' component.
Location:  line=251 column=52
  • <test-method status="FAIL" signature="implementsTransactionalWFS(org.testng.ITestContext)
    I do not understand what is wrong. Server does not need to support WFS-T. Still the report shows this:
[Unexpected result evaluating XPath expression with context node #document:
 //ows:Constraint[@name='ImplementsTransactionalWFS']/ows:DefaultValue = 'TRUE' expected [true] but found [false]]]
@jratike80
Copy link
Author

testng-results.txt

@geographika
Copy link
Member

Related to this - the Zoo Project has added OGC CITE testing to its CI workflows - see here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants