You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The XPath spec says that a node-set is "an unordered collection of nodes
without duplicates". In certain situations, we're not removing duplicates
in the node-sets. If I'm not mistaken, the following two expressions should
return identical node-sets:
/descendant-or-self::*/A
/descendant::A/../A
However, the second expression returns duplicates in its node-set (example
page:
http://code.google.com/p/jsprofile/source/browse/trunk/test/functional/ajaxslt/n
ews.google.com.html)
We can take a look at how other engines (i.e. cybozu) detect duplicates;
comparing nodes using "===" is non-performant.
Original issue reported on code.google.com by [email protected] on 26 Jun 2008 at 2:10
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 26 Jun 2008 at 2:10The text was updated successfully, but these errors were encountered: