diff options
-rw-r--r-- | lib/rexml/parsers/xpathparser.rb | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -515,7 +515,9 @@ module REXML rest = FilterExpr( path, n ) if rest != path if rest and rest[0] == ?/ - return RelativeLocationPath(rest, n) end end rest = LocationPath(rest, n) if rest =~ /\A[\/\.\@\[\w*]/ |