Hi
When validating ISO19110 metadata in trunk, there errors like:
src-resolve: Cannot resolve the name ‘gmd:AbstractDQ_PositionalAccuracy’ to a(n) ‘element declaration’ component. (Element: gfc:FC_FeatureCatalogue with parent element: Unknown
Identified that the problem happens before validating the metadata, when GeoNetwork loads the schema files for ISO19110, seem the includes in the file xml/schemas/iso19110/schema.xsd are not ok at all.
I did this change:
<xs:import namespace=“http://www.isotc211.org/2005/gmd” schemaLocation=“…/iso19139/schema/gmd/metadataEntity.xsd”/>
<xs:import namespace=“http://www.isotc211.org/2005/gco” schemaLocation=“…/iso19139/schema/gco/basicTypes.xsd”/>
Instead of:
<xs:import namespace=“http://www.isotc211.org/2005/gmd” schemaLocation=“…/iso19139/schema/gmd/citation.xsd”/>
<xs:import namespace=“http://www.isotc211.org/2005/gco” schemaLocation=“…/iso19139/schema/gco/basicTypes.xsd”/>
<xs:import namespace=“http://www.isotc211.org/2005/gmx” schemaLocation=“…/iso19139/schema/gmx/gmx.xsd”/>
and seem working ok.
The main concern is that this file seem is created automatically (at least from comments in header), so:
-
Do you think is ok to commit this version changed manually?
-
Or should be another updated version of the file that maybe fixes this? In this case, anyone knows from where was obtained this file?
Thanks and regards,
Jose García