require File.join(File.dirname(__FILE__), '..', 'test_helper') class RexmlBugs < ActiveSupport::TestCase def test_that_some_illegal_chars_are_parsed_without_complaint p "REXML ignores illegal ']]>' brackets in xml content" assert_nothing_raised do # The right angle bracket (>) may be represented using the string ">", and MUST, for compatibility, # be escaped using either ">" or a character reference when it appears in the string "]]>" in content, # when that string is not marking the end of a CDATA section. # - http://www.w3.org/TR/xml11/#syntax xml = "