1 <?xml version='1.0'?>
   2 <xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >
   3 <!-- Schema to test byte datatype -->
   4   <xsd:element name='test' type='fooType' />
   5   <xsd:complexType name='fooType' > 
   6     <xsd:sequence>
   7       <xsd:element name='foo' >
   8         <xsd:simpleType>
   9           <xsd:restriction base="xsd:byte">
  10             <xsd:fractionDigits value="5"/>
  11             <xsd:totalDigits value="5"/>
  12           </xsd:restriction>
  13         </xsd:simpleType>
  14       </xsd:element>
  15     </xsd:sequence>
  16   </xsd:complexType>
  17 </xsd:schema>