summaryrefslogtreecommitdiff
path: root/tests/it_xml.t
diff options
context:
space:
mode:
authorChristian Schneider2009-06-10 14:38:34 +0000
committerChristian Schneider2009-06-10 14:38:34 +0000
commit43261032de58cee70955551d4e6006208b79100c (patch)
treec77249d165d8c6e4f79b92b27b648681d0ddd2bf /tests/it_xml.t
parent0a7295530982faa7fe01a3650e29731d03ac8162 (diff)
downloaditools-43261032de58cee70955551d4e6006208b79100c.tar.gz
itools-43261032de58cee70955551d4e6006208b79100c.tar.bz2
itools-43261032de58cee70955551d4e6006208b79100c.zip
Added test for xml parsing with entities like ampersand
Diffstat (limited to 'tests/it_xml.t')
-rwxr-xr-xtests/it_xml.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/it_xml.t b/tests/it_xml.t
index cfb95b2..7e555bd 100755
--- a/tests/it_xml.t
+++ b/tests/it_xml.t
@@ -40,6 +40,12 @@ match(
'Tags and attributes with name space and special characters'
);
+match(
+ '<foo>x &amp; y</foo>',
+ 'foo Object ( [val] => x & y ) ',
+ 'Character data with entities'
+);
+
# Test inheritance
class my_xml extends it_xml
{