# File rexml/xpath_parser.rb, line 221 def PathExpr path, nodeset #puts "PathExpr( #{path}, #{puta nodeset} )" if DEBUG p,n = FilterExpr path, nodeset #puts "After FilterExpr p is '#{p}' and n is #{puta n}" if DEBUG return [p,n] if p.size == 0 # p is now '/' '/'? RelativeLocationPath if p =~ /^\?/ if $& == '//' p = "descendant-or-self::#$'" else p = $' end #puts "CALLING RELATIVELOCATIONPATH" if DEBUG return RelativeLocationPath p, n end return LocationPath p, nodeset if p =~ /^[\\\\]/ return [p, n] end