Davor Racic created an issue |
Stored query DescribeStoredQueries does not contain all prefix decalarations |
Issue Type: |
Bug |
---|---|
Affects Versions: |
2.14.0 |
Assignee: |
Unassigned |
Components: |
WFS |
Created: |
03/Nov/18 12:23 PM |
Priority: |
Medium |
Reporter: |
I have upgraded Geoserver to v.2.14 master, because of this bug: https://osgeo-org.atlassian.net/browse/GEOS-8635 So the GML errors were corrected but this leads me to another problem. I have application schema worskpace “gn” for geographical names. So the capabilites request: http://myserver/geoserver/gn/wfs?service=WFS&version=2.0.0&request=getcapabilities has declared prefix gn: xmlns:gn=“http://inspire.ec.europa.eu/schemas/gn/4.0” But describestoredqueries does not, so I get an error from INSPIRE validator: org.xml.sax.SAXException: Fatal error: org.xml.sax.SAXParseException; lineNumber: 14; columnNumber: 151; UndeclaredPrefix: Cannot resolve ‘gn:NamedPlace’ as a QName: the prefix ‘gn’ is not declared. Response did not validate against schema ‘http://www.opengis.net/wfs/2.0 http://myserver:80/geoserver/schemas/wfs/2.0/wfs.xsd’. As I have noticed that gn prefix is missing after CreateStoredQuery POST, i added it manually in data_dir/wfs/query/querydefinition.xml, but the result is the same. XML header does not contain gn prefix. Am I missing something here or this could possibly be a Bug? Best regards |
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#100095-sha1:ea0cb61) |