W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2007

Re: xml validation error

From: nandanprasad <pola_nandana@emc.com>
Date: Thu, 12 Apr 2007 03:51:19 -0700 (PDT)
Message-ID: <9957068.post@talk.nabble.com>
To: xmlschema-dev@w3.org


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.


-- 
View this message in context: http://www.nabble.com/xml-validation-error-tf3564425.html#a9957068
Sent from the w3.org - xmlschema-dev mailing list archive at Nabble.com.
Received on Thursday, 12 April 2007 10:51:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:59 GMT