<?xml version="1.0" encoding="UTF-8" ?>
<!--
	HIGHLIGHT OF THIS TEST
	======================
	- reference to undeclared simple type
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema"
		xmlns:foo="foo"
		targetNamespace="foo"
		elementFormDefault="qualified">
	
	<complexType name="abc">
		<sequence>
			<any />
		</sequence>
	</complexType>
	
	<element name="root">
		<complexType>
			<simpleContent>
				<!-- refer to the different namespace -->
				<restriction base="foo:abc">
					<pattern value="2" />
				</restriction>
			</simpleContent>
		</complexType>
	</element>
</schema>