Project

General

Profile

« Previous | Next » 

Revision 69eedf6a

Added by Sutou Kouhei over 12 years ago

  • 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