Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.3
Description
The org.apache.sis.xml.XML class defines a GML_VERSION property, which can be used for specifying the GML version of the document to be marshalled. Changing the GML version modifies the way some elements are marshalled. However GML_VERSION currently has no effect on the xmlns:gml and xsi:schemaLocation attribute values of the root element. The URL values of above attributes should be modified as below:
- For GML 3.2.0: http://www.opengis.net/gml
- For GML 3.2.1: http://www.opengis.net/gml/3.2
The difficulty is that namespaces in JAXB are typically defined statistically in annotations. We need to explore if a more dynamic alternative exists.
Attachments
Issue Links
- is related to
-
SIS-152 Consider using XSLT for handling XML documents compliant to different version of the standards
- Open