The element name specified in the XML Schema must not contain a colon (:
). If you want the element to be namespace qualified you need to specify a targetNamespace
on the schema
element. You will also need to declare this namespace.
<xsd:schema
...
targetNamespace="http://www.example.com/foo"
xmlns:comp="http://www.example.com/foo">