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:simpleType name="myList">
	<xsd:list itemType="xsd:ID"/>

If I am validating an element 'doc' having this type. What should be the
outcome of validating the following instance?

	<doc att1="a b"/>
	<doc att1="b c"/>

Received on Tuesday, 17 May 2005 20:50:42 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:08 UTC