diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-11 09:01:33 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-11 09:01:33 +0000 |
commit | 7e8b43687c1b7ec2baa600526df71c79f04fa911 (patch) | |
tree | edea0ea2c2f98eca9b4ac83446307a2bcddb7dda | |
parent | 99ed561b4b34813979bf598a73023c33f8486c18 (diff) | |
download | ruby-7e8b43687c1b7ec2baa600526df71c79f04fa911.tar.gz |
* 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,15 @@ +Sun Aug 11 17:54:07 2013 Kouhei Sutou <kou@cozmixng.org> + + * 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. + Sun Aug 11 17:41:41 2013 Kouhei Sutou <kou@cozmixng.org> * test/rexml/parser/test_sax2.rb: Add SAX2 API test. |