2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://b" xmlns="http://b" elementFormDefault="qualified" attributeFormDefault="unqualified">
4 <xs:complexType name="base">
6 <xs:element name="leaf" type="xs:string"/>
10 <xs:complexType name="derived">
12 <xs:extension base="base"/>
16 <xs:element name="root" type="derived"/>