<?xml version="1.0"?> <!-- all (except 2 first) should fail to validate --> <xsd_hexBinary> <hex></hex> <hex/> <hex>0</hex> <hex>0123456789ABCDEFGH</hex> <hex>+abcdef0123456789</hex> <hex>-0123456789abcdef</hex> <!-- minLength and maxLength --> <hex2>112233445566778899</hex2> <!-- length --> <hex3>ab</hex3> <hex3>00fedc</hex3> </xsd_hexBinary>