diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-11 09:44:42 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-11 09:44:42 +0000 |
commit | 1864d57843ed1ea0646b43e3917d7bcded3680d2 (patch) | |
tree | f6911141bcb19c79d1d980e9f55d8f67fbf59466 /lib/rexml | |
parent | 8328d8a2b72bc37778a2ca9d8a82c205d08dfa4c (diff) | |
download | ruby-1864d57843ed1ea0646b43e3917d7bcded3680d2.tar.gz |
* lib/rexml/sax2listener.rb (REXML::SAX2Listener#elementdecl): Fix wrong
examples. [Bug #8731] [ruby-dev:47582]
Reported by Ippei Obayashi.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml')
-rw-r--r-- | lib/rexml/sax2listener.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/rexml/sax2listener.rb b/lib/rexml/sax2listener.rb index ac530d2eed..ce4435d345 100644 --- a/lib/rexml/sax2listener.rb +++ b/lib/rexml/sax2listener.rb @@ -59,17 +59,17 @@ module REXML # 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 ...> |