diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-03 03:41:26 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-03 03:41:26 +0000 |
commit | 69eedf6a18d0c21b06d30ec4bc4a550d4ac125dd (patch) | |
tree | 66d0a13000e00d69d5ab64598d99f4230a43fa88 /lib/rexml/document.rb | |
parent | c032c5bc9acb015dbe2947a39d3d7ce033c934ee (diff) | |
download | ruby-69eedf6a18d0c21b06d30ec4bc4a550d4ac125dd.tar.gz |
* lib/rexml/xmldecl.rb (REXML::XMLDecl): Stop using REXML::Encoding
module because XMLDecl doesn't convert encoding. This causes
removing XML encoding name normalization (encoding.upcase).
Encoding name in XML declaration is what user specifies.
I think this is reasonable change.
* test/rexml/test_xml_declaration.rb: Add tests for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml/document.rb')
0 files changed, 0 insertions, 0 deletions