W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2003

Re: Uniqueness in combination with mixed content

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 26 Mar 2003 09:47:05 +0000
To: Cams Ismael <Ismael.Cams@siemens.com>
Cc: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Message-ID: <f5bhe9q7946.fsf@erasmus.inf.ed.ac.uk>

Cams Ismael <Ismael.Cams@siemens.com> writes:

> Hello all,
> I hope somebody can help me with this problem. I was trying to define
> uniqueness on a mixed content element. However if I am correct, it's not
> possible to put restrictions on mixed content. And indeed bot with msxml and
> xsdvalid I got an error message. But when I tried to validate with
> Xerces2.0.0 I didn't get any error message. Even more, when I defined twice
> the same value, Xerces detected this and warned me about that. For me it
> would be great if the Xerces parser was right, but I got the feeling that
> Xerces doesn't follow the recs here. Can somebody help me with this ?

The REC requires that all fields pick out attributes or elements "which
must have a simple type".  Sorry.

  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                      Half-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 Wednesday, 26 March 2003 04:47:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:09 UTC