212213214215216217218
String text = _charSeq.toString(); byte[] buf = HexBin.decode(text.getBytes()); if (buf!=null) return new ByteArrayInputStream(buf); else throw new InvalidLexicalValueException("invalid hexBinary value", _charSeq.getLocation()); }