Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-345 Upgrade JAXB binding to ISO 19115-3
  3. SIS-405

Upgrade or remove JAXB annotations of ImmutableIdentifier

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: Metadata, Referencing
    • Labels:
      None

      Description

      For the upgrade of metadata XML format from legacy ISO 19139:2007 to newer ISO 19115-3:2016, all classes in org.apache.sis.metadata.iso package and sub-packages have their JAXB annotations upgraded except ImmutableIdentifier. The later is used mostly by sis-referencing, which is still (un)marshalled according GML 3.2. The consequence is that DefaultIdentifier and ImmutableIdentifier - which are supposed to be two implementations of the same Identifier interface - now use two different set of JAXB annotations. This may be a cause of confusion.

      We should upgrade JAXB annotations to ISO 19115-3:2016 on ImmutableIdentifier too, with verification that it preserves compatibility with GML 3.2 (un)marshalling in sis-referencing.

      Update (August 2019): an alternative is to remove JAXB annotations completely for that particular class. See comments.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: