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 4957 - SimpleType: stE110
Summary: SimpleType: stE110
Status: NEW
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:
Keywords: disputedTest
: 5125 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-17 15:57 UTC by Michael Chan
Modified: 2010-03-26 15:47 UTC (History)
2 users (show)

See Also:


Attachments

Description Michael Chan 2007-08-17 15:57:31 UTC
This is the schema block:
<xsd:simpleType name="st">
		<xsd:union memberTypes="xsd:int xsd:string st2">
		</xsd:union>
	</xsd:simpleType>


	<xsd:simpleType name="st2">
		<xsd:union memberTypes="st"/>
	</xsd:simpleType>


Circular definitions have been detected for simple type ':st'.  This means that ':st' is contained in its own hierachy, which is an error.  However, it is assumed that this schema is valid because the scenario checks for validity.  The scenario used should be one that checks INvalidity.
Comment 1 Michael Kay 2008-06-20 15:36:19 UTC
*** Bug 5125 has been marked as a duplicate of this bug. ***
Comment 2 Henry S. Thompson 2010-02-05 12:03:42 UTC
Not clear what test author was thinking here. . .