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

Re: Restrictions on xs:all

From: George Cristian Bina <george@sync.ro>
Date: Wed, 28 Jan 2004 13:56:22 +0200
Message-ID: <031401c3e595$c4086c40$1300000a@spelling>
To: "Michael Kay" <mhk@mhk.me.uk>, "Henry S. Thompson" <ht@inf.ed.ac.uk>
Cc: <xmlschema-dev@w3.org>

Hi,

Xerces gives very good error messages when you validate a schema. For
instance in this case I got:

E cos-all-limited.1.2: An 'all' model group must appear in a particle with
{min occurs} = {max occurs} = 1, and that particle must be part of a pair
which constitutes the {content type} of a complex type definition.

If you take the error code and append it to the XML Schema Part 1 URL you
get the link to the relevant part from the specification:
http://www.w3.org/TR/xmlschema-1/#cos-all-limited
and then look for point 1.2.

Best Regards,
 George
-------------------------------------------------------------
George Cristian Bina mailto:george@oxygenxml.com
<oXygen/> XML Editor - http://www.oxygenxml.com/
Received on Wednesday, 28 January 2004 06:49:51 GMT

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