[Bug 58802] New: Inserting XML document fragment adds the fragment instead of its content.
http://bugs.winehq.org/show_bug.cgi?id=58802 Bug ID: 58802 Summary: Inserting XML document fragment adds the fragment instead of its content. Product: Wine Version: 9.0 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msxml3 Assignee: wine-bugs(a)winehq.org Reporter: nerbs.dev(a)gmail.com Distribution: --- When MSXML's IXMLDOMDocumentFragment is inserted into the children of another node, the fragment's content should be inserted rather than the fragment node itself. When using Wine's MSXML3 implementation though, the fragment is inserted into the XML DOM hierarchy. As an example, inserting a fragment (represented here as an element with no name) like this: <> <child2 /> </> At the end of an element's children: <root> <child1 /> </root> Should produce this XML: <root> <child1 /> <child2 /> </root> But instead produces: <root> <child1 /> <> <child2 /> </> </root> I first noticed this while diagnosing some test failures for HexEdit while running under Wine 9.0, and then created a smaller reproduction of the issue. - Reproduction code: https://github.com/the-nerbs/wine-repros/tree/5f36fc0f493caf9972836f9630aae3... - Built 32-bit repro exe: https://github.com/the-nerbs/wine-repros/blob/5f36fc0f493caf9972836f9630aae3... - Original application code: https://github.com/the-nerbs/HexEdit The reproduction code exhibits the same issue when built as both 32 and 64 bit, running under Wine 9.0. I have also reproduced the issue on a 32-bit build of a fresh pull of the Wine sources. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58802 Scott Nerbs <nerbs.dev(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Mint Keywords| |download, source, testcase -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58802 Vijay Kamuju <infyquest(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest(a)gmail.com --- Comment #1 from Vijay Kamuju <infyquest(a)gmail.com> --- Please test with latest wine version 10.27 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58802 --- Comment #2 from Scott Nerbs <nerbs.dev(a)gmail.com> --- (In reply to Vijay Kamuju from comment #1)
Please test with latest wine version 10.27
I only see releases up to version 10.17, so is that just a typo? I tested with 10.17 and confirm the issue still exists there. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla