http://bugs.winehq.org/show_bug.cgi?id=20223
--- Comment #11 from Nikolay Sivov bunglehead@gmail.com 2010-06-20 07:08:11 --- Created an attachment (id=29018) --> (http://bugs.winehq.org/attachment.cgi?id=29018) create additional child node for <?xml ... ?>
This is a hacky patch that allows installer to run to the end.
The problem is in xml declaration handling, msxml treats it as a tree node, while libxml2 only stores declaration data in parsed document without additional node in tree.
A patch breaks tests by breaking document saving, I believe something about duplicated declaration in resulting document but I didn't check - libxml2 really doesn't expect such trick. Probably a better way would be to create a detached node for declaration and link it properly at msxml3 level, don't see a simple way for that, but touching libxml2 tree assumptions is not good.
P.S. too try a patch first apply http://www.winehq.org/pipermail/wine-patches/2010-June/089769.html