[MLZ] MODS export RFC5646 confusion
When exporting my collection to mods, the resulting file doesn't pass validation because of multiple errors (two per item) concerning RFC5646.
These are the errors:
E [Xerces] cvc-enumeration-valid: Value 'rfc5646' is not facet-valid with respect to enumeration '[rfc3066, iso639-2b, iso639-3, rfc4646]'. It must be a value from the enumeration.
and the other.
E [Xerces] cvc-attribute.3: The value 'rfc5646' of attribute 'authority' on element 'languageTerm' is not valid with respect to its type, 'languageAuthorityAttributeDefinition'.
Before I go off on a wild goose chase, could someone tell me if this is a known issue, bad user input, wad...
These are the errors:
E [Xerces] cvc-enumeration-valid: Value 'rfc5646' is not facet-valid with respect to enumeration '[rfc3066, iso639-2b, iso639-3, rfc4646]'. It must be a value from the enumeration.
and the other.
E [Xerces] cvc-attribute.3: The value 'rfc5646' of attribute 'authority' on element 'languageTerm' is not valid with respect to its type, 'languageAuthorityAttributeDefinition'.
Before I go off on a wild goose chase, could someone tell me if this is a known issue, bad user input, wad...
It looks like the validator is requiring a declaration of rfc4646, which was superceded back in 2009 by 5646. We could try changing the declaration in the translator, but before that, it might be worth checking to see if the MODS validation schema is up to date.
thank you, as usual, for the prompt reply
doh have you tried turning it on and off again?
Current schema from MLZ is:
modsCollection xmlns="http://www.loc.gov/mods/v3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd"
3.5 was released July 2013
3.6 is on its way
changing to
http://www.loc.gov/standards/mods/v3/mods-3-5.xsd
solves the issue.
Should be an easy fix, maybe go to 3.6 straight away?
Found two remaining errors due to bad user input.
All is good now.
Greetings DP
Does validation clear for you at 3.6?
Is this of interest to regular zotero?