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);
Sorry, got Safari 3 beta and latest nightly confused on Windows platform. It works fine.
Mass moving XML DOM bugs to the "DOM" Component.