Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#666 closed defect (fixed)

Default ANZLIC Metadata characterSet generates a Schematron error

Reported by: murrayh Owned by: geonetwork-devel@…
Priority: minor Milestone: v2.7.0
Component: General Version:
Keywords: ANZLIC Metadata characterSet Schematron Cc:

Description

Version: GeoNetwork 2.7 svn rev 8285 schemaPlugins svn rev 8406.

When you create an ANZLIC record in GeoNetwork, the following Metadata characterSet is generated:

<gmd:MD_CharacterSetCode codeListValue="utf8" codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_CharacterSetCode"/>

The Schematron does not like that characterSet:

( failed2 errors) checkCodeList

(1) Unable to find the specified codeList document or CodeListDictionary node. (2) codeListValue is not in the specified codeList.

This characterSet has been considered valid in previous versions of GeoNetwork.

You can work around this issue by manually editing the XML and changing the characterSet to:

<gmd:MD_CharacterSetCode codeListValue="utf8" codeList="http://asdd.ga.gov.au/asdd/profileinfo/gmxCodelists.xml#MD_CharacterSetCode">utf8</gmd:MD_CharacterSetCode>

Change History (4)

comment:1 by murrayh, 12 years ago

Note that there are a lot of existing ANZLIC records using the first characterSet definition (that we may harvest from older versions of GeoNetwork into 2.7).

comment:2 by murrayh, 12 years ago

And this issue also affects MCP records that we have harvested.

comment:3 by simonp, 12 years ago

Resolution: fixed
Status: newclosed

Fixed by adding mappings for the urls used in these codelist elements to the oasis catalog file for these schemas. Svn rev 8496 for details.

comment:4 by ianwallen, 12 years ago

Milestone: Future releasev2.7.0
Note: See TracTickets for help on using tickets.