1 <xs:schema targetNamespace=
"urn:bar" xmlns=
"urn:bar" xmlns:
x=
"urn:bar"
2 xmlns:
m=
"http://schemas.microsoft.com/2003/10/Serialization/"
3 xmlns:
xs=
"http://www.w3.org/2001/XMLSchema" elementFormDefault=
"qualified">
4 <xs:element name=
"E1" type=
"T1" nillable=
"true" />
5 <xs:simpleType name=
"T1">
6 <xs:restriction base=
"xs:string">
7 <xs:enumeration value=
"x" />
10 <xs:element name=
"E2" type=
"T2" nillable=
"true" />
11 <xs:simpleType name=
"T2">
12 <xs:list itemType=
"T3" />
14 <xs:simpleType name=
"T3">
15 <xs:restriction base=
"xs:string">
16 <xs:enumeration value=
"x" />