0

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

David
  • 1
  • 1

1 Answers1

0

Sounds as if you're somehow asking it to validate the schema document rather than the instance document.

Michael Kay
  • 156,231
  • 11
  • 92
  • 164