SAA-SDT / EAD3

https://www.loc.gov/ead/index.html
Creative Commons Zero v1.0 Universal
86 stars 25 forks source link

Bug in schematron language code rule #487

Closed rockivist closed 9 years ago

rockivist commented 9 years ago

Getting the following bug when testing the schematron:

"System ID: C:\Users\mr498\Documents\GitHub\EAD-Revision\schematron\ead3.sch Main validation file: C:\Users\mr498\Desktop\beinecke.hayward_ead3.xml Engine name: ISO Schematron Severity: fatal Description: Required item type of first operand of '|' is node(); supplied value has item type xs:string Start location: 234:0"

Problem seems to be in the <rule> for language codes.

tcatapano commented 9 years ago

Error is caused by the OR lookup against the iso_639_3.xml file in the language-code-lookup variable. I'll need to figure out how to do the validation so that it includes is639-3. Removing support for it now.

tcatapano commented 9 years ago

This should now be fixed in develop.

rockivist commented 9 years ago

Looks good.

tcatapano commented 9 years ago

Closing.