https://bugs.winehq.org/show_bug.cgi?id=42468
Bug ID: 42468 Summary: adds unwanted #13; string when formatting simple XML Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msxml3 Assignee: wine-bugs@winehq.org Reporter: development@winomega.com Distribution: ---
Created attachment 57314 --> https://bugs.winehq.org/attachment.cgi?id=57314 binary testcase
Problem found on latest Git (commit a2f2de1e960d37840bb0df541e31d64941e65197) but also older versions (e.g. wine 1.8).
This simple program written in Delphi (attached, including source code) uses a TXMLDocument to load XML, format it and then prints it in a MessageBox.
The imported XML is included in source (Unit1.pas), I paste it here for convenience:
<?xml version="1.0" encoding="UTF-8"?>env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"env:Bodyenv:Fault</env:Fault></env:Body></env:Envelope>
When the program runs on Windows, it prints an equivalent XML, with some indentation changes only (see attached output_win8.1.png).
When run on Wine, the string '#13;' is added in a few places (see attached output_wine.png).
I'm also attaching a trace file (WINEDEBUG=+msxml).