diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-03 08:25:24 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-03 08:25:24 +0000 |
commit | 80018be1fb538641742ccf8f1edfe6ba975a2b95 (patch) | |
tree | db2ffcfc5b281fc21a36381aceb0bdef492b1490 /lib/rexml/parsers/treeparser.rb | |
parent | 07d9346ded3dccc825c320316fe23e088d782f5e (diff) |
Sorry SER, reverting r13600, which brakes make test-all''
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml/parsers/treeparser.rb')
-rw-r--r-- | lib/rexml/parsers/treeparser.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/rexml/parsers/treeparser.rb b/lib/rexml/parsers/treeparser.rb index ff8261cedf..a53fa41925 100644 --- a/lib/rexml/parsers/treeparser.rb +++ b/lib/rexml/parsers/treeparser.rb @@ -29,7 +29,8 @@ module REXML return when :start_element tag_stack.push(event[1]) - el = @build_context = @build_context.add_element( event[1], event[2] ) + # find the observers for namespaces + @build_context = @build_context.add_element( event[1], event[2] ) when :end_element tag_stack.pop @build_context = @build_context.parent @@ -85,8 +86,6 @@ module REXML end rescue REXML::Validation::ValidationException raise - rescue REXML::UndefinedNamespaceException - raise rescue raise ParseException.new( $!.message, @parser.source, @parser, $! ) end |