[
https://issues.apache.org/jira/browse/SIS-402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Desruisseaux updated SIS-402:
------------------------------------
Description:
ISO 19139:2007 was used to represent language code and character set as two
different properties, which was a good matching for Java {{Locale}} and
{{Charset}} classes. But ISO 19115-3:2016 merge them together. We do not yet
have JAXB adapter doing this work. In particular, the new
{{getCharacterSets()}} method in {{DefaultMetadata}} does not yet have its
{{\@XmlElement}} annotation.
After this issue has been fixed, we should remove the {{REGRESSION}} hack in
{{org.apache.sis.test.integration.MetadataTest}}.
Resolving this issue may depend on [GeoAPI issue
#28|https://github.com/opengeospatial/geoapi/issues/28].
was:
ISO 19139:2007 was used to represent language code and character set as two
different properties, which was a good matching for Java {{Locale}} and
{{Charset}} classes. But ISO 19115-3:2016 merge them together. We do not yet
have JAXB adapter doing this work. In particular, the new
{{getCharacterSets()}} method in {{DefaultMetadata}} does not yet have its
{{\@XmlElement}} annotation.
After this issue has been fixed, we should remove the {{REGRESSION}} hack in
{{org.apache.sis.test.integration.MetadataTest}}.
> Missing @XmlElement on DefaultMetadata.getCharacterSets()
> ---------------------------------------------------------
>
> Key: SIS-402
> URL: https://issues.apache.org/jira/browse/SIS-402
> Project: Spatial Information Systems
> Issue Type: Sub-task
> Components: Metadata
> Reporter: Martin Desruisseaux
> Priority: Major
> Labels: regression
> Fix For: 1.0
>
>
> ISO 19139:2007 was used to represent language code and character set as two
> different properties, which was a good matching for Java {{Locale}} and
> {{Charset}} classes. But ISO 19115-3:2016 merge them together. We do not yet
> have JAXB adapter doing this work. In particular, the new
> {{getCharacterSets()}} method in {{DefaultMetadata}} does not yet have its
> {{\@XmlElement}} annotation.
> After this issue has been fixed, we should remove the {{REGRESSION}} hack in
> {{org.apache.sis.test.integration.MetadataTest}}.
> Resolving this issue may depend on [GeoAPI issue
> #28|https://github.com/opengeospatial/geoapi/issues/28].
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)