Hello,
I an beginning with Geonetwork and do not manage to import metadata from a
XML file with the following root element (according to
https://geo-ide.noaa.gov/wiki/index.php?title=ISO_Namespaces). Do you have
any idea how to achieve this ?
Thanks in advance for your help.
<gmi:MI_Metadata
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.isotc211.org/2005/gmi
http://ngdc.noaa.gov/metadata/published/xsd/schema.xsd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:gco="http://www.isotc211.org/2005/gco"
xmlns:gmd="http://www.isotc211.org/2005/gmd"
xmlns:gmx="http://www.isotc211.org/2005/gmx"
xmlns:gml="http://www.opengis.net/gml/3.2"
xmlns:gss="http://www.isotc211.org/2005/gss"
xmlns:gts="http://www.isotc211.org/2005/gts"
xmlns:gsr="http://www.isotc211.org/2005/gsr"
xmlns:gmi="http://www.isotc211.org/2005/gmi"
xmlns:srv="http://www.isotc211.org/2005/srv">
I get this error in the log :
2016-06-27 11:49:53,429 ERROR [jeeves.service] - Exception when executing
service
2016-06-27 11:49:53,442 ERROR [jeeves.service] - (C) Exc :
NoSchemaMatchesException : Autodetecting schema failed for metadata record
with root element MI_Metadata in namespace [Namespace: prefix "gmi" is
mapped to URI "http://www.isotc211.org/2005/gmi"\].
2016-06-27 11:49:53,442 ERROR [jeeves] - Error occurred within a transaction
NoSchemaMatchesException : Autodetecting schema failed for metadata record
with root element MI_Metadata in namespace [Namespace: prefix "gmi" is
mapped to URI "http://www.isotc211.org/2005/gmi"\].
(...)