Hi, I am confused about enumeration facet on list datatype. Which case is correct? (1) The enumeration is a constraint on the list OR (2) The enumeration is constraint on elements of the list. For example, lets say I have the following schema: <?xml version="1.0" encoding="UTF-8"?> <schema> <element name ="myInt" type="myType"/> <simpleType name="myList"> <list itemType="integer"/> </simpleType> <simpleType name="myType"> <restriction base="myList"> <enumeration value="1"/> <enumeration value="2"/> </restriction> </simpleType> </schema> In the corresponding, xml document: <myInt>1 2</myInt> would it be Valid or Invalid? Thank you, ElenaReceived on Wednesday, 6 December 2000 15:57:42 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:31 GMT