[Bug 59539] New: Querying namespace nodes via XPath's namespace:: axis returns NULL for all nodes. selectSingleNode("namespace::prefix") returns S_FALSE/NULL and selectNodes("namespace::*") returns an empty list, even when the namespace is in scope.
http://bugs.winehq.org/show_bug.cgi?id=59539 Bug ID: 59539 Summary: Querying namespace nodes via XPath's namespace:: axis returns NULL for all nodes. selectSingleNode("namespace::prefix") returns S_FALSE/NULL and selectNodes("namespace::*") returns an empty list, even when the namespace is in scope. Product: Wine Version: 11.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msxml3 Assignee: wine-bugs@list.winehq.org Reporter: hkarlsson@gmail.com Distribution: --- When building chrome through wine it fails on some commands involving javascript. I've narrowed it down to a super simple tiny repro which works fine on windows but fails on wine. Here's the error on wine: 0128:err:msxml:create_node Called for unsupported node type 18 FAIL: node is null Create a test.js file that has this content: var doc = new ActiveXObject("Msxml2.DOMDocument.6.0"); doc.loadXML('<root xmlns:ns="http://example.com/ns"/>'); var node = doc.documentElement.selectSingleNode("namespace::ns"); WScript.Echo(node == null ? "FAIL: node is null" : "PASS: " + node.nodeName + "=" + node.nodeValue); Then run it with cscript.exe. On windows it returns: PASS: xmlns:ns=http://example.com/ns on wine it returns: FAIL: node is null -- 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=59539 Nikolay Sivov <bunglehead@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #1 from Nikolay Sivov <bunglehead@gmail.com> --- This should now work correctly, after c23cbae37a768356ba61294f8a8247d0eb090f3c. Please reopen if that's not the case. -- 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=59539 Nikolay Sivov <bunglehead@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c23cbae37a768356ba61294f8a8 | |247d0eb090f3c -- 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=59539 Alexandre Julliard <julliard@winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Alexandre Julliard <julliard@winehq.org> --- Closing bugs fixed in 11.10. -- 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