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] [Updated] (SIS-151) xmlns:gml value should depend on XML.GML_VERSION value
Date Tue, 10 Dec 2013 21:28:08 GMT

     [ https://issues.apache.org/jira/browse/SIS-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Desruisseaux updated SIS-151:
------------------------------------

    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.


  was:
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.



> xmlns:gml value should depend on XML.GML_VERSION value
> ------------------------------------------------------
>
>                 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
>              Labels: JAXB
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message