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).
https://bugs.winehq.org/show_bug.cgi?id=42468
--- Comment #1 from Omega Software development@winomega.com --- Created attachment 57315 --> https://bugs.winehq.org/attachment.cgi?id=57315 Delphi7 source code
https://bugs.winehq.org/show_bug.cgi?id=42468
--- Comment #2 from Omega Software development@winomega.com --- Created attachment 57316 --> https://bugs.winehq.org/attachment.cgi?id=57316 Expected output (Windows 8.1)
https://bugs.winehq.org/show_bug.cgi?id=42468
--- Comment #3 from Omega Software development@winomega.com --- Created attachment 57317 --> https://bugs.winehq.org/attachment.cgi?id=57317 Actual output (Wine)
https://bugs.winehq.org/show_bug.cgi?id=42468
--- Comment #4 from Omega Software development@winomega.com --- Created attachment 57318 --> https://bugs.winehq.org/attachment.cgi?id=57318 WINEDEBUG=+msxml trace file
https://bugs.winehq.org/show_bug.cgi?id=42468
Omega Software development@winomega.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase Distribution|--- |Ubuntu
https://bugs.winehq.org/show_bug.cgi?id=42468
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |STAGED Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/msxml3-Normali | |ze_Data CC| |dmitry@baikal.ru, | |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=42468
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexhenrie24@gmail.com Fixed by SHA1| |f9e1dbb83d850a2f7cb17079e02 | |de139e2f8b920 Status|STAGED |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Alex Henrie alexhenrie24@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commitdiff/f9e1dbb83d850a2f7cb17079e0...
Thanks for the exemplary bug report! I know that it took over a year to resolve this, but if you had not attached a simple test case in source and binary form, it would probably never have been fixed.
https://bugs.winehq.org/show_bug.cgi?id=42468
--- Comment #6 from Omega Software development@winomega.com --- You're welcome! Thank you for fixing it
https://bugs.winehq.org/show_bug.cgi?id=42468
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|adds unwanted #13; string |Broken msxml text nodes |when formatting simple XML |escaping
https://bugs.winehq.org/show_bug.cgi?id=42468
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.3.
https://bugs.winehq.org/show_bug.cgi?id=42468
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x
https://bugs.winehq.org/show_bug.cgi?id=42468
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |---
--- Comment #8 from Michael Stefaniuc mstefani@winehq.org --- Removing the 3.0.x milestone from bugs included in 3.0.1.