W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2005

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>

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

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