mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
b3ab1dbf34
commit
06f2b5b1d8
4 changed files with 18 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
require 'rexml/validation/validationexception'
|
||||
require 'rexml/undefinednamespaceexception'
|
||||
|
||||
module REXML
|
||||
module Parsers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue