Project

General

Profile

Bug #9061 » test_ulp.rb

ohai (Ippei Obayashi), 10/30/2013 11:33 PM

 
require 'rexml/parsers/ultralightparser'
require 'pp'

pp REXML::Parsers::UltraLightParser.new(<<XML).parse
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE root SYSTEM "foo" [
<!ENTITY f "bar">
<!ENTITY g "baz">
]>
<root />
XML


(1-1/2)