diff options
author | ser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-06-10 02:01:04 +0000 |
---|---|---|
committer | ser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-06-10 02:01:04 +0000 |
commit | 3289dfc78b4c5051b0079217a193ce50d5349506 () | |
tree | 564ff1057a5341fa9b28cf03218851f8d0255f4f /lib/rexml/parsers/sax2parser.rb | |
parent | f2b75020ba193b6d20788c800fde583ca8e900d5 (diff) |
-
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | lib/rexml/parsers/sax2parser.rb | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -14,6 +14,10 @@ module REXML @tag_stack = [] end # Listen arguments: # # Symbol, Array, Block @@ -89,6 +93,7 @@ module REXML if procs or listeners # break out the namespace declarations # The attributes live in event[2] nsdecl = event[2].find_all { |n, value| n =~ /^xmlns(:|$)/ } nsdecl.collect! { |n, value| [ n[6..-1], value ] } @namespace_stack.push({}) |