W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2008

[Bug 5784] New: Restrictions of unions

From: <bugzilla@wiggum.w3.org>
Date: Sun, 22 Jun 2008 15:03:12 +0000
To: www-xml-schema-comments@w3.org
Message-ID: <bug-5784-703@http.www.w3.org/Bugs/Public/>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5784

           Summary: Restrictions of unions
           Product: XML Schema
           Version: 1.0 only
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Structures: XSD Part 1
        AssignedTo: cmsmcq@w3.org
        ReportedBy: mike@saxonica.com
         QAContact: www-xml-schema-comments@w3.org


See bug #4065 against test case stZ073b.

We allow xsi:type to reference one of the member types of a union even if the
union has facets. This breaks substitutability. This has been fixed in 1.1 but
remains a serious error in 1.0.

Although the 1.1 solution would be too disruptive for an erratum, a possible
fix would be to say that a member type of a union is not validly derived from
the union type in the case where the union type has one or more facets.


-- 
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 Sunday, 22 June 2008 15:03:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:16 GMT