Thursday, 25 December 2014

Not well-formed: the end-tag for element type xs:element must end with a '>' delimiter



I have created XML files and associated XSD Schemas but the online verifier said it still remains errors in my XSD Schemas.


The exact error it shows is:



Not well-formed: the end-tag for element type
xs:element" must end with a '>' delimiter.


Here is the XSD:



<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://ift.tt/1timONr">

<xs:element name="List_Of_Skills" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>

<xs:element name="Skill" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>

<xs:element name="ID" type="xs:integer"/>
<xs:element name="Name" type="xs:string"/>
<xs:element name="Description" type="xs:string"/>

</xs:sequence>
</xs:complexType>
</xs:element name="Skill">

</xs:sequence>
</xs:complexType>
</xs:element name="List_Of_Skills">

</xs:schema xmlns:xs="http://ift.tt/1timONr">


By the way my XML code is well formed so I don't understand why my XSD code isn't valid even if I thought I understood how it works.


No comments:

Post a Comment