I’m currently implementing the GeoSciML schema using the app-schema extension in GeoServer.
Most things are working well; however, I’m encountering an issue during XML serialization: the gml namespace prefix appears as null: in the output, instead of being correctly resolved.
I’m using GeoSciML-Basic 4.1 and GML 3.2, and I’ve defined the gml namespace as follows in my mapping file:
Welcome @josepsitjar and thanks for checking into the user forum.
I do not have any app-schema experience myself, but I note you may need to take some extra configuration steps with unity resolution, to allow GeoServer to access the GeoSciML XSD files.
There have been some additional security restrictions introduced over time; and you should review the update instructions. While the common OGC and INSPIRE locations are allowed, you will need to perform some configuration for other locations…
The issue I’m having with namespaces is only related to GML. Its default location (Index of /gml) is theoretically allowed, and GeoServer does seem to recognize it correctly — it validates without errors.
However, the only problem is that it’s being displayed as null. Here’s an example: