Project

General

Profile

Bug #8731 ยป rexml-sax2listener-doc.patch

ohai (Ippei Obayashi), 08/04/2013 06:01 PM

View differences:

lib/rexml/sax2listener.rb
59 59
    # declaration.  It can be in a number of formats, but in general it
60 60
    # returns (example, result):
61 61
    #  <!ENTITY % YN '"Yes"'>
62
    #  ["%", "YN", "'\"Yes\"'", "\""]
62
    #  ["YN", "\"Yes\"", "%"]
63 63
    #  <!ENTITY % YN 'Yes'>
64
    #  ["%", "YN", "'Yes'", "s"]
64
    #  ["YN", "Yes", "%"]
65 65
    #  <!ENTITY WhatHeSaid "He said %YN;">
66
    #  ["WhatHeSaid", "\"He said %YN;\"", "YN"]
66
    #  ["WhatHeSaid", "He said %YN;"]
67 67
    #  <!ENTITY open-hatch SYSTEM "http://www.textuality.com/boilerplate/OpenHatch.xml">
68
    #  ["open-hatch", "SYSTEM", "\"http://www.textuality.com/boilerplate/OpenHatch.xml\""]
68
    #  ["open-hatch", "SYSTEM", "http://www.textuality.com/boilerplate/OpenHatch.xml"]
69

  
69 70
    #  <!ENTITY open-hatch PUBLIC "-//Textuality//TEXT Standard open-hatch boilerplate//EN" "http://www.textuality.com/boilerplate/OpenHatch.xml">
70
    #  ["open-hatch", "PUBLIC", "\"-//Textuality//TEXT Standard open-hatch boilerplate//EN\"", "\"http://www.textuality.com/boilerplate/OpenHatch.xml\""]
71
    #  ["open-hatch", "PUBLIC", "-//Textuality//TEXT Standard open-hatch boilerplate//EN", "http://www.textuality.com/boilerplate/OpenHatch.xml"]
71 72
    #  <!ENTITY hatch-pic SYSTEM "../grafix/OpenHatch.gif" NDATA gif>
72
    #  ["hatch-pic", "SYSTEM", "\"../grafix/OpenHatch.gif\"", "\n\t\t\t\t\t\t\tNDATA gif", "gif"]
73
    #  ["hatch-pic", "SYSTEM", "../grafix/OpenHatch.gif", "gif"]
73 74
    def entitydecl content
74 75
    end
75 76
    # <!NOTATION ...>