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

Re: Derivation of mixed content models 2nd

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 11 Jun 2003 10:50:56 +0100
To: hans meier <hansmeier000@yahoo.de>
Cc: xmlschema-dev@w3.org
Message-ID: <f5br861t01r.fsf@erasmus.inf.ed.ac.uk>

hans meier <hansmeier000@yahoo.de> writes:

> Hello,
> I came across the following thread on the derivation of mixed
> content models.
> http://lists.w3.org/Archives/Public/xmlschema-dev/2001Oct/0113.html
> If I am not misinterpreting Henry´s answer, the follwing combinations
> are allowed
>  
> Derivation by extension
> -----------------------
> base type           derived type
> mixed="true"       mixed="true"
> mixed="false"      mixed="false"
> 
> Derivation by restriction
> -------------------------
> base type           derived type
> mixed="true"       mixed="true"
> mixed"false"        mixed="false"
> mixed="true"       mixed="false"  if all element content is optional
>  
> so it should be an error, if there is mixed="false" in
> the base type and mixed="true" in the restricted type.
>  
> So why do XSV 2.4 and MSXML 4.0 SP2 say, that the following is valid?

XSV failed to check that case, will be fixed in next release, sorry.

ht
-- 
  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, 11 June 2003 05:50:59 UTC

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