From 1864d57843ed1ea0646b43e3917d7bcded3680d2 Mon Sep 17 00:00:00 2001 From: kou Date: Sun, 11 Aug 2013 09:44:42 +0000 Subject: * 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 --- lib/rexml/sax2listener.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/rexml') 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 # -- cgit v1.2.3