mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
8328d8a2b7
commit
1864d57843
2 changed files with 12 additions and 6 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
Sun Aug 11 18:44:04 2013 Kouhei Sutou <kou@cozmixng.org>
|
||||||
|
|
||||||
|
* 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@cozmixng.org>
|
Sun Aug 11 18:42:13 2013 Kouhei Sutou <kou@cozmixng.org>
|
||||||
|
|
||||||
* lib/rexml/parsers/sax2parser.rb
|
* lib/rexml/parsers/sax2parser.rb
|
||||||
|
|
|
@ -59,17 +59,17 @@ module REXML
|
||||||
# declaration. It can be in a number of formats, but in general it
|
# declaration. It can be in a number of formats, but in general it
|
||||||
# returns (example, result):
|
# returns (example, result):
|
||||||
# <!ENTITY % YN '"Yes"'>
|
# <!ENTITY % YN '"Yes"'>
|
||||||
# ["%", "YN", "'\"Yes\"'", "\""]
|
# ["%", "YN", "\"Yes\""]
|
||||||
# <!ENTITY % YN 'Yes'>
|
# <!ENTITY % YN 'Yes'>
|
||||||
# ["%", "YN", "'Yes'", "s"]
|
# ["%", "YN", "Yes"]
|
||||||
# <!ENTITY WhatHeSaid "He said %YN;">
|
# <!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">
|
# <!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">
|
# <!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>
|
# <!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
|
def entitydecl declaration
|
||||||
end
|
end
|
||||||
# <!NOTATION ...>
|
# <!NOTATION ...>
|
||||||
|
|
Loading…
Add table
Reference in a new issue