Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-192

Suppression of "3.2" in "http://www.opengis.net/gml/3.2" does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4, 0.5
    • 0.6
    • Metadata
    • None

    Description

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

      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.

      Attachments

        1. GML_version.patch
          0.8 kB
          Martin Desruisseaux

        Issue Links

          Activity

            People

              desruisseaux Martin Desruisseaux
              desruisseaux Martin Desruisseaux
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: