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"


[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 UTC

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