Page 1 of 1

xmllint: no global declaration for validation root

Posted: Wed Jun 30, 2010 2:28 pm
by ^rooker
[PROBLEM]
I was trying to validate an XML against its XSD schema using "xmllint", but I got the following errormessage:

Code: Select all

mets_audio.xml:9: element audioMD: Schemas validity error : Element '{http://www.loc.gov/AMD/}audioMD': No matching global declaration available for the validation root.
mets_audio.xml fails to validate
[SOLUTION]
XML tag definitions are case sensitive within an XSD schema, so "audioMD" had to be "AUDIOMD" in order to comply with the official XSD schema of my example.