diff --git a/lib/oga/xpath/evaluator.rb b/lib/oga/xpath/evaluator.rb index 07cd721..8b1c72a 100644 --- a/lib/oga/xpath/evaluator.rb +++ b/lib/oga/xpath/evaluator.rb @@ -1693,7 +1693,7 @@ module Oga return true if name == STAR - xml_node.name == name || xml_node.name.downcase == name.downcase + xml_node.name == name || xml_node.name.casecmp(name).zero? end ##