diff options
author | ser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-04 04:52:08 +0000 |
---|---|---|
committer | ser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-04 04:52:08 +0000 |
commit | 06f2b5b1d890253cdc4de78a326369a10d22595b (patch) | |
tree | d72a3afeb172bb2c4318c3b6d9e499b5a3e5e7ce /lib/rexml/parsers/baseparser.rb | |
parent | b3ab1dbf34f9ab5b69462c1b7aa8575c27cf8f65 (diff) | |
download | ruby-06f2b5b1d890253cdc4de78a326369a10d22595b.tar.gz |
Fixes ticket:110 (more UTF-16 problems)
Missing include for UndefinedNamespaceException was causing errors in some
cases.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml/parsers/baseparser.rb')
-rw-r--r-- | lib/rexml/parsers/baseparser.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rexml/parsers/baseparser.rb b/lib/rexml/parsers/baseparser.rb index 5f7a5ec43b..fc2354a67f 100644 --- a/lib/rexml/parsers/baseparser.rb +++ b/lib/rexml/parsers/baseparser.rb @@ -1,4 +1,5 @@ require 'rexml/parseexception' +require 'rexml/undefinednamespaceexception' require 'rexml/source' require 'set' @@ -191,6 +192,7 @@ module REXML end return [ :end_document ] if empty? return @stack.shift if @stack.size > 0 + #STDERR.puts @source.encoding @source.read if @source.buffer.size<2 #STDERR.puts "BUFFER = #{@source.buffer.inspect}" if @document_status == nil |