http://bugs.winehq.org/show_bug.cgi?id=33450
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com 2013-05-06 01:29:14 CDT --- I just got a reply from libxml2 author, Daniel said that such tree hacking will break XPath results as XPath processor expects merged text nodes. So we're basically in a situation when lib internals won't let us have a tree model we want. This could be solved probably with having own XPath processor that doesn't need this feature to work.