#167: Harvested OGC services (WMS, WFS) metadata records reference wrong
validation schema
------------------------------------------+---------------------------------
Reporter: wgrunberg | Owner: geonetwork-devel@lists.sourceforge.net
Type: defect | Status: new
Priority: major | Milestone: v2.4.2
Component: General | Version: v2.4.2
Keywords: WMS, WFS, harvest, ISO 19139 |
------------------------------------------+---------------------------------
ISO 19139 service metadata records harvested from OGC services (WFS, WMS)
reference the wrong XML schema.
In geonetwork/src/org/fao/geonet/services/metadata/Show.java line 142, the
following
{{{
xsi:schemaLocation="http://www.isotc211.org/2005/gmd
http://schemas.opengis.net/iso/19139/20060504/srv/srv.xsd"
}}}
should be
{{{
http://www.isotc211.org/2005/srv
http://schemas.opengis.net/iso/19139/20060504/srv/srv.xsd
http://www.isotc211.org/2005/gmd
http://schemas.opengis.net/iso/19139/20060504/gmd/gmd.xsd
}}}
However, I suggest using the following schema which references both SRV
and GMD.
{{{
http://www.isotc211.org/2005/gmd
http://schemas.opengis.net/csw/2.0.2/profiles/apiso/1.0.0/apiso.xsd
}}}
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/167>
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.