Fixed setting the xml length after de/compression. Actually compresses