Opened 15 years ago

Closed 15 years ago

#87 closed defect (fixed)

ISO 19139 output not valid XML

Reported by: tomkralidis Owned by: geonetwork-devel@…
Priority: major Milestone: v2.4.0 RC0
Component: Metadata standards Version:
Keywords: Cc:

Description

e.g. a response like: http://devgeo.cciw.ca/geonetwork/srv/en/iso19139.xml?id=12 yields an invalid document when processing with a validating parser.

Adding the following attribute to the root element of the response:

xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://schemas.opengis.net/iso/19139/20070417/gmd/gmd.xsd"

..will result in a valid document.

Change History (6)

comment:1 by tomkralidis, 15 years ago

Component: Catalog serverMetadata standards

P.S. this would apply both to CSW response and URLs as above.

comment:2 by tomkralidis, 15 years ago

Note that for outputs of services, srv:SV_ServiceIdentification is output. The 19119 schemas should be pointed to here in the case of service metadata output.

comment:3 by ticheler, 15 years ago

Milestone: v2.3.0 Finalv2.4.0 RC0

comment:4 by heikki, 15 years ago

Resolution: fixed
Status: newclosed

Fixed for ISO19139 metadata. In case of service metadata, no schemaLocation is added because there is no official schema for ISO19119.

comment:5 by tomkralidis, 15 years ago

Resolution: fixed
Status: closedreopened

Can we point to http://schemas.opengis.net/iso/19139/20060504/srv/srv.xsd for 19119? The document won't validate, but it's much better than not having on in place.

comment:6 by heikki, 15 years ago

Resolution: fixed
Status: reopenedclosed

OK, I've done that

Note: See TracTickets for help on using tickets.