Opened 15 years ago
Closed 15 years ago
#167 closed defect (fixed)
Harvested OGC services (WMS, WFS) metadata records reference wrong validation schema
Reported by: | wgrunberg | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | v2.4.2 |
Component: | General | Version: | v2.4.2 |
Keywords: | WMS, WFS, harvest, ISO 19139 | Cc: | wgrunberg@… |
Description
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
Note:
See TracTickets
for help on using tickets.
Affects all records shown by GeoNetwork (metadata.show service).
Fixed in svn commit #5444