sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <>
Subject [jira] [Created] (SIS-345) Upgrade JAXB binding to ISO 19115-3
Date Tue, 20 Dec 2016 16:52:58 GMT
Martin Desruisseaux created SIS-345:

             Summary: Upgrade JAXB binding to ISO 19115-3
                 Key: SIS-345
             Project: Spatial Information Systems
          Issue Type: Task
          Components: Metadata
    Affects Versions: 0.7
            Reporter: Martin Desruisseaux

[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 {{}} files.
* For each deprecated method, remove the {{@XmlElement}} annotation.
* For each class without {{@XmlRootElement}} annotation (i.e. new type introduced by ISO 19115
** 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 {{}} file declares an adapter for the method return type.
* Update XML test files.

For compatibility with older format, ISO provides XSLT:

* [Migrating (overview)|]
* [XSLT files|]

This message was sent by Atlassian JIRA

View raw message