[ruby-cvs:49656] kou:r42514 (trunk): * NEWS (REXML::Parsers::SAX2Parser): Add about this change.

kou at ruby-lang.org kou at ruby-lang.org
Sun Aug 11 18:01:41 JST 2013


kou	2013-08-11 18:01:41 +0900 (Sun, 11 Aug 2013)

  New Revision: 42514

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42514

  Log:
    * NEWS (REXML::Parsers::SAX2Parser): Add about this change.
    * lib/rexml/parsers/sax2parser.rb (REXML::Parsers::SAX2Parser#parse):
      Fix wrong number of arguments. Document says "an array of the
      entity declaration" but it passes two or more arguments.
      This is a bug but it break backward compatibility.
      Reported by Ippei Obayashi. [Bug #8731] [ruby-dev:47582]
    * lib/rexml/sax2listener.rb (REXML::SAX2Listener#entitydecl): ditto.
      The listener template accepted two arguments.
    * test/rexml/parser/test_sax2.rb: Add tests for external ID case.

  Modified files:
    trunk/NEWS
    trunk/lib/rexml/parsers/sax2parser.rb
    trunk/lib/rexml/sax2listener.rb
    trunk/test/rexml/parser/test_sax2.rb


More information about the ruby-cvs mailing list