You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sis.apache.org by "Martin Desruisseaux (Jira)" <ji...@apache.org> on 2022/12/28 16:48:00 UTC

[jira] [Closed] (SIS-345) Upgrade JAXB binding to ISO 19115-3

     [ https://issues.apache.org/jira/browse/SIS-345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Desruisseaux closed SIS-345.
-----------------------------------

> Upgrade JAXB binding to ISO 19115-3
> -----------------------------------
>
>                 Key: SIS-345
>                 URL: https://issues.apache.org/jira/browse/SIS-345
>             Project: Spatial Information Systems
>          Issue Type: Improvement
>          Components: Metadata
>    Affects Versions: 0.7, 0.8
>            Reporter: Martin Desruisseaux
>            Assignee: Martin Desruisseaux
>            Priority: Major
>             Fix For: 1.0, 1.1
>
>
> [ISO 19115-3|http://www.iso.org/iso/home/store/catalogue_tc/catalogue_detail.htm?csnumber=32579] 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:
> * [Migrating (overview)|https://github.com/ISO-TC211/XML/wiki/Migrating-ISO-19139-and-19139-2-to-19115-3]
> * [XSLT files|http://standards.iso.org/iso/19115/resources/transforms/ISO19139]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)