<xsd:schema
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	targetNamespace="b"
	xmlns:a="a"
	xmlns:b="b"
	elementFormDefault="qualified">

	<xsd:import namespace="a" schemaLocation="a.xsd"/>

	<xsd:element name="b2" type="b:B2Type"/>

	<xsd:complexType name="B2Type">
		<xsd:attribute name="b2" type="a:A2EnumType" use="required"/>
	</xsd:complexType>

</xsd:schema>