sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <>
Subject [jira] [Created] (SIS-192) Suppression of "3.2" in "" does not work
Date Fri, 13 Feb 2015 12:12:11 GMT
Martin Desruisseaux created SIS-192:

             Summary: Suppression of "3.2" in "" does not work
                 Key: SIS-192
             Project: Spatial Information Systems
          Issue Type: Bug
          Components: Metadata
    Affects Versions: 0.5, 0.4
            Reporter: Martin Desruisseaux
            Assignee: Martin Desruisseaux
             Fix For: 0.6

Representation of a temporal primitive in a metadata objects uses GML. However the namespace
of those objects depends on the GML version:

* Before GML 3.2.1, it was
* Starting with GML 3.2.1, it is

Apache SIS defaults to the latest supported version of each standard. However it does not
work with other software which expect GML 3.2. The namespace was supposed to be controllable
as below:

Result out = ...; // Where to write the XML (Writer, OutputStream, etc.).
Map<String,Object> properties = new HashMap<>();
properties.put(XML.GML_VERSION, "3.2");
XML.marshal(metadata, out, properties); 

However the above does not change the namespace as expected.

This message was sent by Atlassian JIRA

View raw message