sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SIS-151) XML.GML_VERSION has no effect on the schema URL
Date Mon, 02 Dec 2013 06:14:35 GMT
Martin Desruisseaux created SIS-151:
---------------------------------------

             Summary: XML.GML_VERSION has no effect on the schema URL
                 Key: SIS-151
                 URL: https://issues.apache.org/jira/browse/SIS-151
             Project: Spatial Information Systems
          Issue Type: Bug
          Components: Metadata, Referencing
    Affects Versions: 0.3
            Reporter: Martin Desruisseaux
            Priority: Minor


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.1: http://www.opengis.net/gml
* For GML 3.2: 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.




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message