[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Handling list of xsd:ID

From: Zafar Abbas <zafara@microsoft.com>
Date: Tue, 17 May 2005 13:39:37 -0700
Message-ID: <563BD3496D37BB4B9F4E8F896A58F2B305055B9C@RED-MSG-50.redmond.corp.microsoft.com>
To: <xmlschema-dev@w3.org>
Cc: "Priya Lakshminarayanan" <priyal@microsoft.com>
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
Received on Tuesday, 17 May 2005 20:50:42 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.