« Return to Thread: xml validation error

Re: xml validation error

by nandana :: Rate this Message:

Reply to Author | View in Thread

Hi,
I tried doing the following to remove the error

<xs:anySimpleType>
   <xs:union>
     <xs:simpleType>
       <xs:restriction base="xs:unsignedShort">
         <xs:enumeration value="0"/>
         <xs:enumeration value="5"/>
         <xs:enumeration value="10"/>
         <xs:enumeration value="15"/>
         <xs:enumeration value="20"/>
         <xs:enumeration value="25"/>
         <xs:enumeration value="30"/>
       </xs:restriction>
     </xs:simpleType>
     <xs:simpleType>
       <xs:restriction base="xs:unsignedShort">
         <xs:minInclusive value="31"/>
       </xs:restriction>
     </xs:simpleType>
   </xs:union>
</xs:anySimpleType>

but, it doesn't recognise the <xs:anySimpleType> tag. Please help.

Thanks,
Nandan.

 « Return to Thread: xml validation error