![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Handling list of xsd:ID [Thread Next] RE: Handling list of xsd:IDTo: "'Zafar Abbas'" <zafara@---------.--->, <xmlschema-dev@--.---> Date: 5/17/2005 11:53:00 PM I've asked this a number of times and never received a completely satisfactory response, but the consensus seems to be that where the spec talks about uniqueness of types derived from xs:ID, it means derived by restriction, and not by list or union. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: xmlschema-dev-request@w... > [mailto:xmlschema-dev-request@w...] On Behalf Of Zafar Abbas > Sent: 17 May 2005 21:40 > To: xmlschema-dev@w... > Cc: Priya Lakshminarayanan > Subject: Handling list of xsd:ID > > > If I have a xsd:list of xsd:ID values, how would the > uniqueness check be > applied during validation? Consider the following: > > <xsd:complexType name="base"> > <xsd:attribute name="att1" type="myList"/> > </xsd:complexType> > > <xsd:simpleType name="myList"> > <xsd:list itemType="xsd:ID"/> > </xsd:simpleType> > > If I am validating an element 'doc' having this type. What > should be the > outcome of validating the following instance? > > <root> > <doc att1="a b"/> > <doc att1="b c"/> > </root> > > > Thanks, > Zafar > > From duerst@w... Wed May 18 04:51:10 2005 Received: from maggie.w3.org ([193. | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
