W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2003

infinite loop

From: oliver fodor <fodor@itc.it>
Date: Wed, 08 Jan 2003 10:07:27 +0100
Message-Id: <5.2.0.9.0.20030108100503.00c7f638@mail.acs.sk>
To: xmlschema-dev@w3.org

hi!

does the XML Schema specification allow the following combination of 
complex types? it might lead to an infinite loop ...

<xs:complexType name="bType" mixed="true">
	<xs:choice minOccurs="0" maxOccurs="unbounded">
   		<xs:element name="i" type="iType" />
   		<xs:element name="ul" type="ulType" />
   	</xs:choice>
</xs:complexType>

<xs:complexType name="iType" mixed="true">
	<xs:choice minOccurs="0" maxOccurs="unbounded">
   		<xs:element name="b" type="bType" />
   		<xs:element name="ul" type="ulType" />
   	</xs:choice>
</xs:complexType>

thanks!

oliver
Received on Wednesday, 8 January 2003 04:15:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:35 GMT