Validate an XML document using a schema.
The simplest form of the problem is shown in two files.
In my practice, I got the No matching global declaration available for the validation root in two cases:
No matching global declaration available for the validation root
If in XML does not contain an xmlns attribute. In such case adding the xmlns will help:
xmlns
...