#666 closed defect (fixed)
Default ANZLIC Metadata characterSet generates a Schematron error
Reported by: | murrayh | Owned by: | |
---|---|---|---|
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 , 13 years ago
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
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 , 12 years ago
Milestone: | Future release → v2.7.0 |
---|
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).