1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
kou 2013-08-11 10:08:05 +00:00
parent 1864d57843
commit 45222164dc
3 changed files with 61 additions and 1 deletions

View file

@ -73,7 +73,7 @@ module REXML
def entitydecl declaration
end
# <!NOTATION ...>
def notationdecl content
def notationdecl name, public_or_system, public_id, system_id
end
# Called when <![CDATA[ ... ]]> is encountered in a document.
# @p content "..."