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


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 UTC