I am confused as to why my XML schema will not pass Java's xml schema validation. I got my java validation code from link to the code. It should be standard stuff. I am told that a problem was found starting at: attribute. It is at lineNumber: 8; columnNumber: 48.
My xml is:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name ="Entries">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="entry">
<xs:attribute name="key" type="xs:string"/>
<xs:attribute name="value" type="xs:string"/>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>