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

Failure in the XPath of the test supportedStoredQueryLanguages #56

Closed
lgoltz opened this issue Nov 14, 2016 · 0 comments
Closed

Failure in the XPath of the test supportedStoredQueryLanguages #56

lgoltz opened this issue Nov 14, 2016 · 0 comments
Assignees

Comments

@lgoltz
Copy link
Contributor

lgoltz commented Nov 14, 2016

The test supportedStoredQueryLanguages currently fails with the exception "Missing 'language' parameter for CreateStoredQuery."

Here the relevant part of the capabilities:

    <ows:Operation name="CreateStoredQuery">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:href="http://localhost:8080/deegree-webservices/services/wfs?"/>
          <ows:Post xlink:href="http://localhost:8080/deegree-webservices/services/wfs"/>
        </ows:HTTP>
      </ows:DCP>
      <ows:Parameter name="language">
        <ows:AllowedValues>
          <ows:Value>urn:ogc:def:queryLanguage:OGC-WFS::WFSQueryExpression</ows:Value>
         </ows:AllowedValues>
      </ows:Parameter>
    </ows:Operation>

As far as I see the XPath in https://github.com/opengeospatial/ets-wfs20/blob/master/src/main/java/org/opengis/cite/iso19142/querymgmt/StoredQueryManagement.java is incorrect.
Instead of
//ows:Operation[name='CreateStoredQuery']/ows:Parameter[@name='language']
it should be
//ows:Operation[@name='CreateStoredQuery']/ows:Parameter[@name='language']

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

No branches or pull requests

3 participants