W3C home > Mailing lists > Public > public-xml-schema-testsuite@w3.org > June 2012

[Bug 17617] should 'over021.bad.xsd' be valid?

From: <bugzilla@jessica.w3.org>
Date: Fri, 29 Jun 2012 11:09:16 +0000
Message-Id: <E1SkZ4e-0005m6-0M@jessica.w3.org>
To: public-xml-schema-testsuite@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17617

Michael Kay <mike@saxonica.com> changed:

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

--- Comment #1 from Michael Kay <mike@saxonica.com> 2012-06-29 11:09:25 UTC ---
On a strict reading of the spec I think you might be correct that this is not
an error.

However, the non-normative description of the transformation perhaps captures
the intent: "[if] O1 has a child E1 with the same element type and the same
value for its name attribute, then D2′ has a copy of E1 in the location
corresponding to E2's place in D2.", which most people would read as implying
that if O1 has several such children, then D2' has copies of all of them, which
would produce an invalid schema.

So I think we should make this an error.

-- 
Configure bugmail: https://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 Friday, 29 June 2012 11:09:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 29 June 2012 11:09:31 GMT