W3C home > Mailing lists > Public > public-xml-schema-testsuite@w3.org > December 2006

[Bug 4056] elemT026 - illegal xsi:type

From: <bugzilla@wiggum.w3.org>
Date: Sat, 09 Dec 2006 15:44:27 +0000
To: public-xml-schema-testsuite@w3.org
Message-Id: <E1Gt4NH-0005CG-2x@wiggum.w3.org>


           Summary: elemT026 - illegal xsi:type
           Product: XML Schema Test Suite
           Version: 2006-11-06
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Microsoft tests
        AssignedTo: ht@inf.ed.ac.uk
        ReportedBy: mike@saxonica.com
         QAContact: public-xml-schema-testsuite@w3.org

In the Microsoft Element tests, group elemT026, the instance has 

<test2 xsi:type="Union-A">1</test2>

where Union-A is a union type with A (the declared type of test2) as its only

>From my reading of the specification (Schema Component Constraint: Type
Derivation OK (Simple)), Union-A is not validly derived from A, so the instance
is invalid under clause 4.3 of Validation Rule: Element Locally Valid

Very similar problems affect elemT027, elemT028, and elemT029.
Received on Saturday, 9 December 2006 15:44:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:08:48 UTC