local symbol spaces

if i have two anonymous complex type definitions. inside of these i declare 
a local element with equal names. is this allowed? do also anonymous type 
definitions define their own local symbol spaces?

example (the element c):

<xsd:schema xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
	<xsd:element name = "a">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name = "c">
					<xsd:complexType/>
				</xsd:element>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>

	<xsd:complexType name = "r">
		<xsd:sequence>
			<xsd:element name = "s">
				<xsd:complexType/>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:element name = "g">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name = "c" type = "r"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
</xsd:schema>

how can such components be referenced from outside?

Received on Wednesday, 22 May 2002 10:44:12 UTC