1<?xml version="1.0"?>
2<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
3
4	<xsd:simpleType name="barType">
5		<xsd:restriction base="xsd:string">
6			<xsd:maxLength value="10" />
7		</xsd:restriction>
8	</xsd:simpleType>
9
10	<xsd:attribute name="bar" type="barType" fixed="o"/>
11
12	<xsd:element name="bar.B" type="xsd:anyURI" block="#all" nillable="true" final="restriction extension"/>
13
14	<xsd:element name="bar">
15		<xsd:complexType>
16			<xsd:sequence>
17				<xsd:element name="bar.A" block="restriction" form="qualified" nillable="true" />
18				<xsd:element ref="bar.B"/>
19			</xsd:sequence>
20
21			<xsd:attribute ref="bar" xml:lang="DE">
22				<xsd:annotation/>
23			</xsd:attribute>
24			<xsd:attribute name="uri" type="xsd:token" />
25		</xsd:complexType>
26	</xsd:element>
27
28</xsd:schema>