summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-11 09:01:41 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-11 09:01:41 +0000
commitce89dedde34e7b0304a96423a6a0c6b4284043cc (patch)
treea1c31036cf3981211e264303122aa47b5d4ad7aa /NEWS
parent7e8b43687c1b7ec2baa600526df71c79f04fa911 (diff)
* 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@42514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index f791363235..a3b560962a 100644
--- a/NEWS
+++ b/NEWS
@@ -182,6 +182,12 @@ with all sufficient information, see the ChangeLog file.
* REXML::Parsers::StreamParser
* Supports "entity" event.
+* REXML::Parsers::SAX2Parser
+ * Fixes wrong number of arguments of entitydecl event. Document of the event
+ says "an array of the entity declaration" but implemenation passes two
+ or more arguments. It is an implementation bug but it breaks backword
+ compatibility.
+
* REXML::Text
* REXML::Text#<< supports method chain like 'text << "XXX" << "YYY"'.
* REXML::Text#<< supports not "raw" mode.