WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
14836
XPathEvaluator.evaluate does not find results from createElementNS on Windows
https://bugs.webkit.org/show_bug.cgi?id=14836
Summary
XPathEvaluator.evaluate does not find results from createElementNS on Windows
Jesse Costello-Good
Reported
2007-07-31 14:34:58 PDT
The following yeilds "<record/>" on Mac but "" on Windows on the latest nighly: var x = (new DOMParser()).parseFromString('<data><record jsxid="5"/></data>', 'text/xml'); var n = x.createElementNS(null, "record"); x.firstChild.firstChild.appendChild(n); var e = new XPathEvaluator(); var n = e.evaluate("//record[@jsxid='5']/record", x.documentElement, null, null, null).iterateNext(); (new XMLSerializer()).serializeToString(n);
Attachments
Add attachment
proposed patch, testcase, etc.
Jesse Costello-Good
Comment 1
2007-07-31 14:41:21 PDT
Sorry, got Safari 3 beta and latest nightly confused on Windows platform. It works fine.
Lucas Forschler
Comment 2
2019-02-06 09:04:17 PST
Mass moving XML DOM bugs to the "DOM" Component.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug