From 45222164dcea2a3ca8c187008a6caaadc4b66e64 Mon Sep 17 00:00:00 2001 From: kou Date: Sun, 11 Aug 2013 10:08:05 +0000 Subject: * lib/rexml/sax2listener.rb (REXML::SAX2Listener#notationdecl): Fix wrong number of arguments in the template listener. [Bug #8731] [ruby-dev:47582] Reported by Ippei Obayashi. * test/rexml/parser/test_sax2.rb: Add tests for parsing notation declarations with SAX2 API. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rexml/sax2listener.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/rexml/sax2listener.rb b/lib/rexml/sax2listener.rb index ce4435d345..9f276eb4ed 100644 --- a/lib/rexml/sax2listener.rb +++ b/lib/rexml/sax2listener.rb @@ -73,7 +73,7 @@ module REXML def entitydecl declaration end # - def notationdecl content + def notationdecl name, public_or_system, public_id, system_id end # Called when is encountered in a document. # @p content "..." -- cgit v1.2.3