ruby-changes:30073
From: zzak <ko1@a...>
Date: Tue, 23 Jul 2013 08:15:25 +0900 (JST)
Subject: [ruby-changes:30073] zzak:r42125 (trunk): * lib/rexml/streamlistener.rb: [DOC] Fix examples in
zzak 2013-07-23 08:15:15 +0900 (Tue, 23 Jul 2013) New Revision: 42125 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42125 Log: * lib/rexml/streamlistener.rb: [DOC] Fix examples in REXML::StreamListener#entitydecl patch by Ippei Obayashi [Bug #8665] Modified files: trunk/ChangeLog trunk/lib/rexml/streamlistener.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 42124) +++ ChangeLog (revision 42125) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Jul 23 08:11:32 2013 Zachary Scott <e@z...> + + * lib/rexml/streamlistener.rb: [DOC] Fix examples in + REXML::StreamListener#entitydecl patch by Ippei Obayashi [Bug #8665] + Tue Jul 23 07:44:59 2013 Eric Hodel <drbrain@s...> * lib/rubygems: Import RubyGems from master as of commit b165260 Index: lib/rexml/streamlistener.rb =================================================================== --- lib/rexml/streamlistener.rb (revision 42124) +++ lib/rexml/streamlistener.rb (revision 42125) @@ -57,17 +57,17 @@ module REXML https://github.com/ruby/ruby/blob/trunk/lib/rexml/streamlistener.rb#L57 # declaration. It can be in a number of formats, but in general it # returns (example, result): # <!ENTITY % YN '"Yes"'> - # ["%", "YN", "'\"Yes\"'", "\""] + # ["YN", "\"Yes\"", "%"] # <!ENTITY % YN 'Yes'> - # ["%", "YN", "'Yes'", "s"] + # ["YN", "Yes", "%"] # <!ENTITY WhatHeSaid "He said %YN;"> - # ["WhatHeSaid", "\"He said %YN;\"", "YN"] + # ["WhatHeSaid", "He said %YN;"] # <!ENTITY open-hatch SYSTEM "http://www.textuality.com/boilerplate/OpenHatch.xml"> - # ["open-hatch", "SYSTEM", "\"http://www.textuality.com/boilerplate/OpenHatch.xml\""] + # ["open-hatch", "SYSTEM", "http://www.textuality.com/boilerplate/OpenHatch.xml"] # <!ENTITY open-hatch PUBLIC "-//Textuality//TEXT Standard open-hatch boilerplate//EN" "http://www.textuality.com/boilerplate/OpenHatch.xml"> - # ["open-hatch", "PUBLIC", "\"-//Textuality//TEXT Standard open-hatch boilerplate//EN\"", "\"http://www.textuality.com/boilerplate/OpenHatch.xml\""] + # ["open-hatch", "PUBLIC", "-//Textuality//TEXT Standard open-hatch boilerplate//EN", "http://www.textuality.com/boilerplate/OpenHatch.xml"] # <!ENTITY hatch-pic SYSTEM "../grafix/OpenHatch.gif" NDATA gif> - # ["hatch-pic", "SYSTEM", "\"../grafix/OpenHatch.gif\"", "\n\t\t\t\t\t\t\tNDATA gif", "gif"] + # ["hatch-pic", "SYSTEM", "../grafix/OpenHatch.gif", "gif"] def entitydecl content end # <!NOTATION ...> -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/