http://bugs.winehq.org/show_bug.cgi?id=22860
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com 2010-06-09 16:00:09 --- In current Wine a DOMDocument40 is created without any problems, and our msxml4 is only a forward to msxml3. It doesn't add any new functionality except registering DOMDocument40 (new version).
So a native override for msxml3 should work fine with current Wine too. I don't see any problems with freeing in libxml2 code, but it was a brief look.
If it's a free() on already freed pointer or something like that, could you please try running under valgrind could to get more details (run some application like notepad before that to reduce startup time and log length).