W3C home > Mailing lists > Public > public-xml-schema-testsuite@w3.org > February 2009

[Bug 6600] particlesZ031 seems to be wrong

From: <bugzilla@wiggum.w3.org>
Date: Thu, 19 Feb 2009 18:08:25 +0000
To: public-xml-schema-testsuite@w3.org
Message-Id: <E1LaDJx-0008VJ-Ag@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6600


Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@saxonica.com




--- Comment #1 from Michael Kay <mike@saxonica.com>  2009-02-19 18:08:24 ---
Please see bug #5943 which was raised against the spec on this one.

My analysis is/was:

In XSD 1.0 this is legal, by mistake. The rules should stop you deriving
complexContent from simpleContent, but they don't, and you end up with
simpleContent even though you said you wanted complexContent.

In XSD 1.1 this is illegal. It has been made illegal by the rather artificial
device of generating a schema component that is deliberately invalid (it fails
the consistency tests for schema components). In discussion of bug #5943 I
appealed against the use of this technique because I felt it made life so
difficult for readers of the spec, but I lost.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 19 February 2009 18:08:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 19 February 2009 18:08:34 GMT