http://bugs.winehq.org/show_bug.cgi?id=16453
--- Comment #10 from Hans Leidekker hans@meelstraat.net 2008-12-12 09:29:07 ---
(And 'make test' fails.)
That's why I called it a hack, we can't unconditionally remove the preamble because it may have been added by the user or read in via loadXML.
I guess we also need a patch for the xmlns problem you spotted?
I took a shot at that too but this is getting pretty hairy. If you set the namespace attribute in libxml2 it adds it to all element nodes, whereas msxml adds it to the root element only. And there's difference in handling of namespace prefixes too.
We may be able to work around this by inserting the xmlns attribute ourselves, I'm not sure.