Reputation: 1
I have the following XML Schema:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="Movies">
<!-- Other content -->
</xs:element>
</xs:schema>
and this XML:
<?xml version="1.0" encoding="UTF-8"?>
<Movies xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="mml.xsd">
<!-- Other content -->
</Movies>
When trying to validate I keep getting the mentioned error in Eclipse
Upvotes: 0
Views: 476
Reputation: 163655
Sounds as if you're somehow asking it to validate the schema document rather than the instance document.
Upvotes: 0