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

Re: Extension and all-group

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 31 Jan 2003 10:56:58 +0000
To: Oleg Tkachenko <olegt@multiconn.com>
Cc: xmlschema-dev@w3.org
Message-ID: <f5blm11fuyt.fsf@erasmus.inf.ed.ac.uk>

Oleg Tkachenko <olegt@multiconn.com> writes:

> Hello!
> 
> This question was raised at news:microsoft.public.dotnet.xml newsgroup
> -
> 
> is the following schema valid? .NET gives errors, while XML Spy and
> W3C validator say okay.

The schema is not valid.  The derived type violates the requirement
that the only place an 'all' group can appear is all alone as the only
group in a type.  XSV should check for this, but doesn't [1]:

 "<all> groups are [not] properly constrained as to how they appear in schemas"

ht

[1] http://www.ltg.ed.ac.uk/~ht/xsv-status.html
-- 
  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 Friday, 31 January 2003 05:56:50 GMT

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