<?xml version="1.0" encoding="UTF-8"?> | |
<xs:schema attributeFormDefault="unqualified" | |
elementFormDefault="qualified" | |
targetNamespace="http://test" | |
xmlns:local="http://test" | |
xmlns:library="http://library" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema"> | |
<xs:import namespace="http://library"/> | |
<xs:element name="foo" type='local:fooType'/> | |
<xs:complexType name="fooType"> | |
<xs:complexContent> | |
<xs:extension base='library:barType'/> | |
</xs:complexContent> | |
</xs:complexType> | |
</xs:schema> |