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

RE: Question about combination of xsi:type and import

From: Pierre G. Boutquin <boutquin@home.com>
Date: Mon, 28 May 2001 22:37:42 -0400 (EDT)
To: <xmlschema-dev@w3.org>
Cc: <O.Geisser@ceyoniq.com>
Message-ID: <HJEHKMPNAEOEFJAJBAODAEAICMAA.boutquin@home.com>
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 GMT

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