From 05deab1128a4c7168f377e3f9a9e51a38f38d0e9 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Fri, 9 Feb 2007 13:44:31 +0000 Subject: Allow xml tags with special characters like date.taken (Flikr) --- tests/xml.t | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'tests') diff --git a/tests/xml.t b/tests/xml.t index 85f16c8..d127fd8 100755 --- a/tests/xml.t +++ b/tests/xml.t @@ -26,11 +26,11 @@ match( 'empty tag' ); -#match( -# '', -# 'array ( 0 => class foo { }, 1 => class foo { }, )', -# 'multiple empty tags converted to array' -#); +match( + '', + 'array ( 0 => class foo { }, 1 => class foo { }, )', + 'multiple empty tags converted to array' +); match( 'Stüssihofstadt', @@ -38,6 +38,12 @@ match( 'simple tag with latin1 content and attribute' ); +match( + '', + 'class foo { var $a_b__c = class a_b__c { var $attr = array( \'d_e_f\' => \'value\' ); }; }', + 'Tags and attributes with name space and special characters' +); + # Test inheritance class my_xml extends it_xml { -- cgit v1.2.3