Fixed XML Parsing when no encoding/compression is set (Thanks unit-tests -.- )