[Geoserver-devel] [JIRA] (GEOS-8445) WFS 2.0 CITE CreateStoredQuery fails

Andrea Aime created an issue

GeoServer / BugGEOS-8445

WFS 2.0 CITE CreateStoredQuery fails

Issue Type:

BugBug

Assignee:

Unassigned

Components:

WFS

Created:

29/Nov/17 3:56 PM

Priority:

MediumMedium

Reporter:

Andrea Aime

The request is this one:

<CreateStoredQuery xmlns="http://www.opengis.net/wfs/2.0" service="WFS" version="2.0.0">
  <StoredQueryDefinition xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                          id="urn:example:wfs2-query:GetFeatureByTypeName">
      <Title>GetFeatureByTypeName</Title>
      <Abstract>Returns feature representations by type name.</Abstract>
      <Parameter name="typeName" type="xsd:QName">
         <Abstract>Qualified name of feature type (required).</Abstract>
      </Parameter>
      <QueryExpressionText isPrivate="false"
                           language="urn:ogc:def:queryLanguage:OGC-WFS::WFSQueryExpression"
                           returnFeatureTypes="">
         <Query typeNames="${typeName}"/>
      </QueryExpressionText>
</StoredQueryDefinition>
</CreateStoredQuery

Multiple issues:

  • The parsing machinery does not handle gracefully the default namespace usage instead of explicit prefixes
  • The validation code is not prepared to handle the parametric typename

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100073-sha1:af7f519)

Atlassian logo