surround <binary> with proper binaryDataArray
Added verification with xmllint