<?xml version="1.0" encoding="UTF-8"?>
<xs:schema
	targetNamespace="http://example.org/B"
	xmlns:a="http://example.org/A"
	xmlns:xs="http://www.w3.org/2001/XMLSchema">

	<xs:import namespace="http://example.org/A" schemaLocation="http://example.org/schemas/schema_a.xsd"/>

	<xs:element name="foobar" type="a:SomeComplexType"/>

</xs:schema>