# File test/entity.rb, line 37 def test_parse_external_decl zero = '<!ENTITY open-hatch SYSTEM "http://www.textuality.com/boilerplate/OpenHatch.xml" >' one = '<!ENTITY open-hatch SYSTEM "http://www.textuality.com/boilerplate/OpenHatch.xml">' two = '<!ENTITY open-hatch PUBLIC "-//Textuality//TEXT Standard open-hatch boilerplate//EN" "http://www.textuality.com/boilerplate/OpenHatch.xml">' three = '<!ENTITY hatch-pic SYSTEM "../grafix/OpenHatch.gif" NDATA gif >' assert REXML::Entity::matches?(zero) assert REXML::Entity::matches?(one) assert REXML::Entity::matches?(two) assert REXML::Entity::matches?(three) end