Opened 12 years ago
Closed 12 years ago
#940 closed defect (wontfix)
ISO 19139 XML - unwanted replacement of codeList URLs - not polite
Reported by: | ebleys | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | v2.8.0 |
Component: | Metadata standards | Version: | |
Keywords: | Cc: |
Description
Metadata inserted via admin:insert metadata via copy/past with valid CodeList URLs eg (<gmd:MD_CharacterSetCode codeList="http://adl.brs.gov.au/anrdl/resources/codeList/codeList20120313.xml#MD_CharacterSetCode" codeListValue="utf8">utf8</gmd:MD_CharacterSetCode>) gets replaced. a) not polite, as codeLists are allowed to be extended b) the code provided is valid in both spaces yet validation fails.
Note:
See TracTickets
for help on using tickets.
Can't see how the codelist will get forced just on copy/paste import (doesn't happen as far as I can see).
But from the rest of the ticket I think you must be editing the record and doing a 'Check' (ie.validate) because the codelists attribute is forced by the update-fixed-info.xsl file for the schema on edit, check/save if you have automatic fixes enabled in the system config (and its on by default).
Edit,Check/Saving does that forcing because it assumes you are using the codelist supplied with the schema for use in the editor. If you want to use a different codelist then you should modify things as follows:
With regard to b), the codelist validator (a schematron) expects an XML document in CT_Codelist catalog format - if you've followed the steps above you will have that.
I'm closing the ticket with won't fix - reopen if any of the above doesn't work - thanks.