Fixed BZ#1066169 - XML with processing instructions are corrupted when saved to the server.