<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="../xhtml2.css" ?>
<!DOCTYPE html [
	<!ATTLIST section id ID #IMPLIED>
	<!ATTLIST h       id ID #IMPLIED>
	<!ATTLIST div     id ID #IMPLIED>
	<!ATTLIST nl      id ID #IMPLIED>
]>
<html xmlns="http://www.w3.org/2002/06/xhtml2"
      xmlns:xforms="http://www.w3.org/2002/xforms"
      xmlns:ev="http://www.w3.org/2001/xml-events"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xml:lang="en">
  <head>
    <title>Do Not Bind Input To Binary Types</title>
    <xforms:model id="005_model">
       <xforms:instance xmlns="">
          <data>
             <picture xsi:type="xsd:base64Binary"/>
             <photo xsi:type="xsd:hexBinary"/>
          </data>
       </xforms:instance>
    </xforms:model>
  </head>
  <body>
    <xforms:group>
       <xforms:label>Binary Data Cannot Be Entered Via Input</xforms:label>
 
          <xforms:input model="005_model" ref="/data/picture">
             <xforms:label>Picture??</xforms:label>
             <xforms:help>I will not permit you to type in binary data.
             </xforms:help>
         </xforms:input>

         <xforms:input model="005_model" ref="/data/photo">
            <xforms:label>Picture??</xforms:label>
            <xforms:help>I will not permit you to type in binary data.
            </xforms:help>
        </xforms:input>
    </xforms:group>
  </body>
</html>
