BEGIN; -- Plan the tests. SELECT plan(5); SELECT is( evergreen.xml_escape('A Song of Ice & Fire'), 'A Song of Ice & Fire', 'XML-Escape ampersand' ); SELECT is( evergreen.xml_escape('A Song of Rice and <<< Fire'), 'A Song of Rice and <<< Fire', 'XML-Escape less-than' ); SELECT is( evergreen.xml_escape('>A Song of Mice and >>> Fire'), '>A Song of Mice and >>> Fire', 'XML-Escape greater-than' ); SELECT is( evergreen.xml_escape(' Song of Vice &&& <