I have upgraded Geoserver to v.2.14 master, because of this bug:
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:
has declared prefix gn:
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?
Shouldn't WFS DescribeStoredQueries inherit the same namespace daclarations as WFS Getcapabilities?
Enabling strict CITE compliance setting doesn't help
I changed the issue title, because all storedquery requests have the same issue.