aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rexml/xpath.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/xpath.rb')
-rw-r--r--lib/rexml/xpath.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rexml/xpath.rb b/lib/rexml/xpath.rb
index 5f7ecefe29..a8952ff473 100644
--- a/lib/rexml/xpath.rb
+++ b/lib/rexml/xpath.rb
@@ -5,6 +5,9 @@ module REXML
# Wrapper class. Use this class to access the XPath functions.
class XPath
include Functions
+ # A base Hash object, supposing to be used when initializing a
+ # default empty namespaces set, but is currently unused.
+ # TODO: either set the namespaces=EMPTY_HASH, or deprecate this.
EMPTY_HASH = {}
# Finds and returns the first node that matches the supplied xpath.