ruby-changes:30441
From: kou <ko1@a...>
Date: Sun, 11 Aug 2013 18:44:47 +0900 (JST)
Subject: [ruby-changes:30441] kou:r42520 (trunk): * lib/rexml/sax2listener.rb (REXML::SAX2Listener#elementdecl): Fix wrong
kou 2013-08-11 18:44:42 +0900 (Sun, 11 Aug 2013) New Revision: 42520 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42520 Log: * lib/rexml/sax2listener.rb (REXML::SAX2Listener#elementdecl): Fix wrong examples. [Bug #8731] [ruby-dev:47582] Reported by Ippei Obayashi. Modified files: trunk/ChangeLog trunk/lib/rexml/sax2listener.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 42519) +++ ChangeLog (revision 42520) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Aug 11 18:44:04 2013 Kouhei Sutou <kou@c...> + + * lib/rexml/sax2listener.rb (REXML::SAX2Listener#elementdecl): Fix wrong + examples. [Bug #8731] [ruby-dev:47582] + Reported by Ippei Obayashi. + Sun Aug 11 18:42:13 2013 Kouhei Sutou <kou@c...> * lib/rexml/parsers/sax2parser.rb Index: lib/rexml/sax2listener.rb =================================================================== --- lib/rexml/sax2listener.rb (revision 42519) +++ lib/rexml/sax2listener.rb (revision 42520) @@ -59,17 +59,17 @@ module REXML https://github.com/ruby/ruby/blob/trunk/lib/rexml/sax2listener.rb#L59 # 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", "NDATA", "gif"] def entitydecl declaration end # <!NOTATION ...> -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/