Bug 14836

Summary: XPathEvaluator.evaluate does not find results from createElementNS on Windows
Product: WebKit Reporter: Jesse Costello-Good <jesse>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: cdumez
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: Windows XP   
Bug Depends on:    
Bug Blocks: 10489    

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
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.