1 <?xml version="1.0" encoding="UTF-8"?> 2 <xs:schema targetNamespace="http://example.net/xmlschema2" 3 xmlns:xs="http://www.w3.org/2001/XMLSchema" 4 xmlns="http://example.net/xmlschema2" 5 elementFormDefault="qualified" attributeFormDefault="unqualified"> 6 7 <xs:simpleType name="tfoo"> 8 <xs:restriction base="xs:NMTOKEN"> 9 <xs:maxLength value="2"/> 10 </xs:restriction> 11 </xs:simpleType> 12 13 </xs:schema> 14