<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/js-xpath/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/js-xpath/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 16 Mar 2007 18:44:55 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/js-xpath/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Incorrect XPathResult type names</title><link>https://sourceforge.net/p/js-xpath/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Currently, the following types are made available for XPathResults of type SNAPSHOT:&lt;/p&gt;
&lt;p&gt;XPathResult.UNORDERED_SNAPSHOT_TYPE = 6;&lt;br /&gt;
XPathResult.ORDERED_SNAPSHOT_TYPE = 7;&lt;/p&gt;
&lt;p&gt;However according to &lt;a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/xpath.html" rel="nofollow"&gt;http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/xpath.html&lt;/a&gt; they should be:&lt;/p&gt;
&lt;p&gt;XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE = 6;&lt;br /&gt;
XPathResult.ORDERED_NODE_SNAPSHOT_TYPE = 7;&lt;/p&gt;
&lt;p&gt;(note the additional _NODE_). I guess for backwards compatibility you could leave in the old and just add the new. But its a real problem to be not using the W3C recommend names. Makes prototype.js's use of XPath fail.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Edward Holets</dc:creator><pubDate>Fri, 16 Mar 2007 18:44:55 -0000</pubDate><guid>https://sourceforge.net05021b479d0f4a1da722b358226bde1677b42619</guid></item><item><title>Only nodes in body selected</title><link>https://sourceforge.net/p/js-xpath/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;It seems that one can only select nodes in the body node. Tested with the following call:&lt;br /&gt;
document.evaluate("//*", document.getElementsByTagName('html')[0], null, XPathResult.ANY_TYPE, null);&lt;/p&gt;
&lt;p&gt;The script-tags in the head are excluded.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 27 Feb 2007 14:47:24 -0000</pubDate><guid>https://sourceforge.net60b4cc3512768bfdb8e55a8eb1a39fae56ceae3b</guid></item></channel></rss>