diff --git a/ChangeLog b/ChangeLog index ecb220b081..cfbb986053 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sun Aug 11 18:44:04 2013 Kouhei Sutou + + * 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 * lib/rexml/parsers/sax2parser.rb 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): # - # ["%", "YN", "'\"Yes\"'", "\""] + # ["%", "YN", "\"Yes\""] # - # ["%", "YN", "'Yes'", "s"] + # ["%", "YN", "Yes"] # - # ["WhatHeSaid", "\"He said %YN;\"", "YN"] + # ["WhatHeSaid", "He said %YN;"] # - # ["open-hatch", "SYSTEM", "\"http://www.textuality.com/boilerplate/OpenHatch.xml\""] + # ["open-hatch", "SYSTEM", "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"] # - # ["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 #