Values transferred as BLOBs retain their original encoding which should match the encoding specified in the XML declaration. In case of a mismatch between the actual encoding and the encoding declared in the XML declaration, an error is raised by the parser.