[Bug 5784] New: Restrictions of unions

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 UTC