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
CC:
To: public-xml-schema-testsuite@w3.org
Message-Id: <E1Gt4NH-0005CG-2x@wiggum.w3.org>

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

           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
member.

>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
(Element).

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:55 GMT