aboutsummaryrefslogtreecommitdiffstats
path: root/test/rexml/test_document.rb
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-28 12:31:20 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-28 12:31:20 +0000
commit2a42c1bd3a8fcaa59f778070bff0eac60757ced3 (patch)
treebcd9a2aa1f23d4f35bfd7fd30ad6ecc58303d43a /test/rexml/test_document.rb
parent100b3be9ae7f6ad0af53dd87d0e9706df6e813c3 (diff)
downloadruby-2a42c1bd3a8fcaa59f778070bff0eac60757ced3.tar.gz
* lib/rexml/source.rb (REXML::IOSource#initialize): Reduce
@line_break initialize code. It should be done only in #encoding=. * lib/rexml/parsers/baseparser.rb: Don't set UTF-16 encoding to source by encoding="UTF-16" in XML declaration because UTF-16XX source encoding should be set in Source#initialize or IOSource#intialize. They should handle BOM. Parser should not consider about it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rexml/test_document.rb')
0 files changed, 0 insertions, 0 deletions