http://bugs.winehq.org/show_bug.cgi?id=12486
--- Comment #16 from joao.eiras joao.eiras@gmail.com 2008-07-09 02:40:30 --- I'm sure your patch works, and you can go further on with the installer, but this cannot be taken into the main tree, because: 1) this would afect all XML buffers, and not only office2007 ones, and could break others. We really need is some sotr of costumization on the libxml side. \r\n is the new line char sequence on windows, but you can have only \n or \r too. 2) you're doing 2 O(n) cycles, looping byte by byte, which adds a performance penalty
Good work though :)