RE: Question about combination of xsi:type and import

Oops. Tree.xsd should not contain extendedLeafType:

<Pierre/>

<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XML Spy v3.5 NT (http://www.xmlspy.com) by Pierre G.
Boutquin (Veredex Logistics) -->
<xsd:schema targetNamespace="urn:tree" xmlns:tns="urn:tree"
xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xsd:element name="tree" type="tns:branchType"/>
	<xsd:complexType name="leafType">
		<xsd:sequence>
			<xsd:element name="name" type="xsd:string"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="branchType">
		<xsd:choice maxOccurs="unbounded">
			<xsd:element name="leaf" type="tns:leafType"/>
			<xsd:element name="branch" type="tns:branchType"/>
		</xsd:choice>
	</xsd:complexType>
</xsd:schema>

Pierre Boutquin
Director, Product Architecture
Veredex Logistics
2355 Skymark Avenue, Suite 300
Mississauga, Ontario  L4W 4Y6  Canada
Work: 905.282.1515 x311
Fax: 905.282.9219
pboutquin@veredex.com
www.veredex.com

Received on Monday, 11 June 2001 05:35:07 UTC