Hello Cullen

Le 22/05/2018 à 22:12, Cullen Rombach a écrit :

> I was testing out the 1.0-jdk8-SNAPSHOT version of Apache SIS (from the
> JDK8 branch on GitHub) when I ran into an issue unmarshalling ISO 19139
> metadata beginning with the MI_Metadata element.
> The specific metadata document can be found here [1].
> (… snip …)
>
> [1] 
> https://catalog.data.gov/harvest/object/d2901928-f55b-4ef3-88e9-9de7d3e30554

The cause of the error is related to the namespace declared in the
document. The xmlns:gmi attribute declares:

    http://www.isotc211.org/2005/gmi

Changing this value for the following URL works:

    http://standards.iso.org/iso/19115/-2/gmi/1.0

The new URL seems more "official" than the old one since other ISO
schemas are there (including the new ISO 19115:2016 ones). But I agree
that SIS should understand the old URL as a synonymous of the new one.

    Martin

P.S.: if you try again, you may need a "svn update" for fixing a
NullPointerException related to Record elements in the XML.


Reply via email to