Hi Nicolas,

I don’t think the two are connected:
The “301 Moved Permanently” sounds like a HTTP status 
(https://en.wikipedia.org/wiki/HTTP_301), should include the URL which the 
content was moved to, and IMHO, it’s a bug in the Inspire validator that it 
doesn’t automatically follow this redirection.

Can’t help you with the simplification of namespaces, except the (possibly 
overkill) suggestion that you have a separate GeoServer instance for each set 
of workspaces you want to expose.

BR
/julian

Fra: Nicolas De Ville de Goyet <[email protected]>
Sendt: 22 September 2020 10:49
Til: GeoServer Mailing List List <[email protected]>
Emne: [Geoserver-users] App-schema gml namespace


Hello everyone,

I'm using geoserver 2.13.1 with an App-schema DataAccess uploaded with Hale 
studio software.

When I download a gml in geoserver, by default, it includes at the beginning of 
the gml file the namespace of all the workspaces present in my geoserver. I 
tried to isolate the workspace to avoid that but It doesn't change anything. To 
simplify the gml document I wish to remove the extra-namespaces.

I'm not sure it is related to that but the gml file do not pass the Inspire 
validator test. The error message is:

XML document 'test.gml': 
http://ears.bmdc.be:80/geoserver/schemas/wfs/2.0/wfs.xsd, 2:35: 
s4s-elt-character: Non-whitespace characters are not allowed in schema elements 
other than 'xs:appinfo' and 'xs:documentation'. Saw '301 Moved Permanently'.

It looks like the error is in the wfs.xsd schema, which is a file I'm not 
supposed to change I guess. Maybe the problem is linked to namespaces 
declaration at the beginning of the gml document?!

Any advice are most welcome!

Best,

--

Nicolas de Ville

Belgian Marine Data Centre (BMDC)

OD-Nature, Royal Belgian Institute of Natural Sciences

02/627.42.79

www.bmdc.be<http://www.bmdc.be>

https://metadata.naturalsciences.be/
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to