org.xml.sax.SAXParseException; Element 'numAPI' has both a 'type' attribute and a 'anonymous type' child. Only one of these is allowed for an element.

org.xml.sax.SAXParseException; systemId: file:<: 21;
columnNumber: 56; src-element.3: Element 'numAPI' has both a 'type' attribute and a 'anonymous type' child. Only one of these is allowed for an element.


<xs:element type="xs:long" name="numAPI">  <xs:simpleType>    
<xs:restriction base="xs:long">      <xs:minLength value="1"/> 
   </xs:restriction>  </xs:simpleType></xs:element>


After the fix

<xs:element name="numAPI">  <xs:simpleType>    
<xs:restriction base="xs:long">      
<xs:minLength value="1"/>    </xs:restriction>  
</xs:simpleType></xs:element>

No comments:

 Python Basics How to check the version of Python interpreter mac terminal

Popular in last 30 days