1 <?xml version="1.0"?> 2 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 3 <xsd:simpleType name="foo"> 4 <xsd:restriction base="xsd:string"> 5 <xsd:length value="8"> 6 <xsd:notation name="jpeg" public="image/jpeg" system="viewer.exe"/> 7 </xsd:length> 8 </xsd:restriction> 9 </xsd:simpleType> 10 </xsd:schema>