sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <>
Subject [jira] [Closed] (SIS-151) xmlns:gml value should depend on XML.GML_VERSION value
Date Tue, 10 Dec 2013 21:30:07 GMT


Martin Desruisseaux closed SIS-151.

       Resolution: Fixed
    Fix Version/s: 0.4
         Assignee: Martin Desruisseaux

Namespace replacements is now done by {{org.apache.sis.xml.FilteredStreamWriter}}. Future
SIS version may use XSLT (this is yet to be determined if we really want that).

> xmlns:gml value should depend on XML.GML_VERSION value
> ------------------------------------------------------
>                 Key: SIS-151
>                 URL:
>             Project: Spatial Information Systems
>          Issue Type: Bug
>          Components: Metadata, Referencing
>    Affects Versions: 0.3
>            Reporter: Martin Desruisseaux
>            Assignee: Martin Desruisseaux
>            Priority: Minor
>              Labels: JAXB
>             Fix For: 0.4
> 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:
> * For GML 3.2.1:
> 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

View raw message