diff options
-rw-r--r-- | lib/rexml/xpath_parser.rb | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -321,9 +321,10 @@ module REXML all_siblings = node.parent.children current_index = all_siblings.index( node ) following_siblings = all_siblings[ current_index+1 .. -1 ] - results += expr( path_stack.dclone, following_siblings ) end nodeset = results when :preceding_sibling results = [] |