Validate an XML document using a schema.
The simplest form of the problem is shown in two files.
Only global element definitions can be used as root elements. Your schema only has complex types and hence the error. Change the to
Read more about this here