W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2001

<group> legal under <extension>?

From: Hamish Eisler <HEisler@2roam.com>
Date: Thu, 11 Oct 2001 17:34:06 -0700
Message-ID: <F60BF42BDA50D411A35000D0B7846E0401F433D7@mail.2roam.com>
To: "Xmlschema-Dev (E-mail)" <xmlschema-dev@w3.org>
Hi everyone -

Can someone in the know tell me if the following is legal?

	<xsd:complexType name="foo.extended.type">
		<xsd:complexContent>
			<xsd:extension base="xhtml:form.type">
				<xsd:group ref="foo.extension.content"/>
			</xsd:extension>
		</xsd:complexContent>	
	</xsd:complexType>	

Basically, can I use <group> to extend an element, instead of directly
placing a <sequence>, <choice>, or <all> node underneath?

Seems logical, but maybe I'm missing something (or XML Spy is)...

Thanks,

-Hamish
Received on Thursday, 11 October 2001 20:41:59 GMT

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