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>


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:
and then look for point 1.2.

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:04 UTC