xmllint: no global declaration for validation root

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

xmllint: no global declaration for validation root

Post 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.
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply