W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2000

Is this valid?

From: David E. Cleary <davec@progress.com>
Date: Tue, 28 Nov 2000 11:01:24 -0500
To: <xmlschema-dev@w3.org>
This is using the April 7 syntax:

	<element name = "XMI.difference">
		<complexType content = "elementOnly">
			<choice minOccurs = "0" maxOccurs = "unbounded">
				<element ref = "XMI.difference"/>
				<element ref = "XMI.delete"/>
				<element ref = "XMI.add"/>
				<element ref = "XMI.replace"/>
			<attributeGroup ref = "XMI.element.att"/>
			<attributeGroup ref = "XMI.link.att"/>

This definition was created by XML Authority by converting a DTD. It has an
element declaration that includes a reference to itself. This causes our
tool to loop until it blows up. The April 7 XSV doesn't complain. Is it
legal to do this?

David Cleary
Progress Software
Received on Tuesday, 28 November 2000 11:08:43 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:49 UTC