summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorUrban Müller2009-10-05 00:59:40 +0000
committerUrban Müller2009-10-05 00:59:40 +0000
commit815e12f8731453fce48628ce0cdd3177c3f2abf7 (patch)
tree3ae0d58d330fff0d03f3300c6efcdd4a9275aa37 /tests
parent4fa947294e8be3042807da1ba52d21bd1ca0a7ae (diff)
downloaditools-815e12f8731453fce48628ce0cdd3177c3f2abf7.tar.gz
itools-815e12f8731453fce48628ce0cdd3177c3f2abf7.tar.bz2
itools-815e12f8731453fce48628ce0cdd3177c3f2abf7.zip
handle bad xml
Diffstat (limited to 'tests')
-rwxr-xr-xtests/it_xml.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/it_xml.t b/tests/it_xml.t
index 7e555bd..a0922c5 100755
--- a/tests/it_xml.t
+++ b/tests/it_xml.t
@@ -46,6 +46,13 @@ match(
'Character data with entities'
);
+match(
+ '<foo>&amp;&lt;&gt;&#38;&#60;&#62;&#x26;&#x3C;&#x3E; &uuml;</foo>',
+ 'foo Object ( [val] => &<>&<>&<> ü ) ',
+ 'Predecode illegal entities',
+);
+
+
# Test inheritance
class my_xml extends it_xml
{