Project

General

Profile

Bug #8731 » rexml-sax2parser-unittest.patch

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

View differences:

test/rexml/test_sax.rb
flunk $!.message
end
end
class EmptyListener
include REXML::SAX2Listener
end
def test_notationdecl_entitydecl
xml = <<EOS
<!DOCTYPE root [
<!ENTITY % YN '"Yes"'>
<!NOTATION x SYSTEM "URIx">
]>
<root />
EOS
parser = REXML::Parsers::SAX2Parser.new(xml)
parser.listen(EmptyListener.new)
parser.parse
end
end
class MySAX2Listener
(4-4/4)