Attributes, non-base64-compatible character data, and data not in the canonical representation of the base64Binary datatype cannot be successfully optimized by XOP.
This does not seem to be a generic binary encoding of XML, just a more efficient means of bundling non-XML binary data with XML documents.