This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 4143 - Microsoft Particles test particlesIg003
Summary: Microsoft Particles test particlesIg003
Status: RESOLVED FIXED
Alias: None
Product: XML Schema Test Suite
Classification: Unclassified
Component: Microsoft tests (show other bugs)
Version: 2006-11-06
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Henry S. Thompson
QA Contact: XML Schema Test Suite mailing list
URL:
Whiteboard: Metadata updated 2010-07-05
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-03 14:29 UTC by Michael Kay
Modified: 2010-07-05 17:15 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Kay 2007-01-03 14:29:18 UTC
In the Microsoft Particles test set, 

<test group="particlesIg003" name="particlesIg003.v"/>

the instance document is described in the metadata as valid. I believe it is invalid.

The instance contains the element 

<a:e2 xsi:type="a:ext"><a:e1/></a:e2>

which is validated against the local element declaration

<xsd:element name="e2" block="restriction"/>

This is valid only if the complex type a:ext is validly derived from xs:anyType given {restriction}. Since a:ext is derived from x:base by extension, and x:base is derived from xs:anyType (implicitly) by restriction, I believe that this is not the case.
Comment 1 Zafar Abbas 2007-02-02 19:44:35 UTC
Agreed that this test should not expected as a valid one. We are following up with the WG to determine the process of updating the test suite.