[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.
http://bugs.winehq.org/show_bug.cgi?id=58802 Nikolay Sivov <bunglehead@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |21735ee8342e24fedc5d372d155 | |76152b74e08d7 --- Comment #3 from Nikolay Sivov <bunglehead@gmail.com> --- This should work now with 21735ee8342e24fedc5d372d15576152b74e08d7. One check still fails in your test program - comparing firstChild to a node pointer. I don't think this is essential, so I'm going to close this. If this pointer comparison breaks something, please open another bug. -- 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 Alexandre Julliard <julliard@winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard@winehq.org> --- Closing bugs fixed in 11.7. -- 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 (2)
-
WineHQ Bugzilla -
WineHQ Bugzilla