Bug 14836 - XPathEvaluator.evaluate does not find results from createElementNS on Windows
Summary: XPathEvaluator.evaluate does not find results from createElementNS on Windows
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 10489
  Show dependency treegraph
 
Reported: 2007-07-31 14:34 PDT by Jesse Costello-Good
Modified: 2019-02-06 09:04 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Costello-Good 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);
Comment 1 Jesse Costello-Good 2007-07-31 14:41:21 PDT
Sorry, got Safari 3 beta and latest nightly confused on Windows platform. It works fine.
Comment 2 Lucas Forschler 2019-02-06 09:04:17 PST
Mass moving XML DOM bugs to the "DOM" Component.