W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2002

Re: Question on equality of lists

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 19 Nov 2002 12:57:31 +0000
To: Stefan Wachter <Stefan.Wachter@gmx.de>
Cc: xmlschema-dev@w3.org, www-xml-schema-comments@w3.org
Message-ID: <f5bfztxk98k.fsf@erasmus.inf.ed.ac.uk>

Stefan Wachter <Stefan.Wachter@gmx.de> writes:

> A similar question concerning equality arises with union types. Having the
> two union types:
> 
> <simpleType name="u1">
>   <union memberTypes="string"/>
> </simpleType>
> 
> <simpleType name="u2">
>   <union memberTypes="string"/>
> </simpleType>
> 
> are these two elements equal?
> 
> <element xsi:type="u1">abc</element> = <element xsi:type="u2">abc</element>

Yes -- another area the spec. needs to be clear about.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2002, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Tuesday, 19 November 2002 07:57:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:01 GMT