Opened 16 years ago
Closed 16 years ago
#87 closed defect (fixed)
ISO 19139 output not valid XML
Reported by: | tomkralidis | Owned by: | |
---|---|---|---|
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 , 16 years ago
Component: | Catalog server → Metadata standards |
---|
comment:2 by , 16 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 , 16 years ago
Milestone: | v2.3.0 Final → v2.4.0 RC0 |
---|
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed for ISO19139 metadata. In case of service metadata, no schemaLocation is added because there is no official schema for ISO19119.
comment:5 by , 16 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
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.
P.S. this would apply both to CSW response and URLs as above.