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

Upgrade JAXB binding to ISO 19115-3

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7, 0.8
    • Fix Version/s: 1.0, 1.1
    • Component/s: Metadata
    • Labels:
      None

      Description

      ISO 19115-3 has been published in August 2016. It replaces ISO 19139. This specification defines the new XML representation of ISO 19115-1 metadata. We should update JAXB annotations in all metadata classes accordingly. Steps to do are:

      • For each org.apache.sis.metadata.iso.* package, change the value of @XmlSchema annotation in package-info.java files.
      • For each deprecated method, remove the @XmlElement annotation.
      • For each class without @XmlRootElement annotation (i.e. new type introduced by ISO 19115 revision):
        • Add @XmlRootElement annotation.
        • Add the corresponding adapter in org.apache.sis.internal.jaxb.metadata package.
      • For each getter method without @XmlElement annotation:
        • Add @XmlElement annotation.
        • Verify that the package-info.java file declares an adapter for the method return type.
      • Update XML test files.

      For compatibility with older format, ISO provides XSLT:

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              desruisseaux Martin Desruisseaux
              Reporter:
              desruisseaux Martin Desruisseaux

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment