The article editor does not accept XML document declaration and processing instruction in code block. When saving my article, this part disappeared. I tried IE, firefox and google chrome. None of them worked. I had to post the part in the WYSIWYG interface. Here is my article: http://www.codeproject.com/Articles/570032/Dynamically-Create-Populate-and-Submit-an-InfoPath
The article editor does not accept XML document declaration and processing instruction in code block
Not sure what you mean. I've checked your article and it looks like the formatting was messed up with the XML part - I've fixed the formatting by correctly HTML encoding the XML as well as removing the extra SPAN tags you had in there.