W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2002

Re: 'all' within 'complexContent' -- which parser is correct?

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 30 Oct 2002 22:57:47 +0000
To: Eddie Robertsson <erobertsson@allette.com.au>
Cc: Evgeny Sologubov <Eugals@mail.ru>, xmlschema-dev@w3.org
Message-ID: <f5bpttr7cwk.fsf@erasmus.inf.ed.ac.uk>

Never say 'never' :-)

I agree with all of Eddie's reply, except for the last bit:

Eddie Robertsson <erobertsson@allette.com.au> writes:

> Since a derivation by extension always creates the new type by
> "sequencing" together the content in the base type with the content
> in the derived type you can *never* use <xs:all> as part of an
> extension.

If the base type def'n was empty and the extension was all and only a
valid <all>, I think the sequence is waived and the result would be OK.

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 Wednesday, 30 October 2002 17:57:54 GMT

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