- From: <bugzilla@wiggum.w3.org>
- Date: Sat, 09 Dec 2006 15:44:27 +0000
- To: public-xml-schema-testsuite@w3.org
- CC:
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 UTC