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.

  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 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:58 UTC