Modified: php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug36611.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug36611.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug36611.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -19,12 +19,12 @@ $val = 1; var_dump($val); -$obj->pos["act_idx"] = $val; +$xml->pos["act_idx"] = $val; var_dump($val) ; -echo "Done\n"; ?> +===DONE=== --EXPECT-- int(1) int(1) -Done +===DONE=== Modified: php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug40451.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug40451.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug40451.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #40451 (addAttribute() may crash when used with non-existent child node) +--SKIPIF-- + --FILE-- addChild('Host'); $add->Host->addAttribute('enable', 'true'); - -echo "Done\n"; ?> +===DONE=== --EXPECTF-- Warning: SimpleXMLElement::addAttribute(): Unable to locate parent Element in %s on line %d -Done +===DONE=== Modified: php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug41175.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug41175.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug41175.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #41175 (addAttribute() fails to add an attribute with an empty value) +--SKIPIF-- + --FILE-- addAttribute("alt", ""); echo $xml->asXML(); -echo "Done\n"; ?> +===DONE=== --EXPECT-- -Done \ No newline at end of file +===DONE=== \ No newline at end of file Modified: php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug41582.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug41582.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug41582.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #41582 (SimpleXML crashes when accessing newly created element) +--SKIPIF-- + --FILE-- asXml()); -echo "Done\n"; ?> +===DONE=== --EXPECT-- Miss Coder -Done +===DONE=== Modified: php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug41861.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug41861.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug41861.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #41861 (getNamespaces() returns the namespaces of a node's siblings) +--SKIPIF-- + --FILE-- +===DONE=== --EXPECT-- root(recursive): 'root' -- namespaces: #ns1, #ns2, #ns3 root(non-recursive): 'root' -- namespaces: @@ -36,3 +39,4 @@ children(#ns1): 'node1' -- namespaces: #ns1 children(#ns2): 'node2' -- namespaces: #ns2 children(#ns3): 'node3' -- namespaces: #ns3 +===DONE=== \ No newline at end of file Modified: php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug41867.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug41867.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug41867.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,14 +1,18 @@ --TEST-- Bug #41867 (getName is broken) +--SKIPIF-- + --FILE-- "); echo $a->getName()."\n"; echo $a->b->getName()."\n"; -echo $a->b->c->getName(); +echo $a->b->c->getName()."\n"; ?> +===DONE=== --EXPECT-- a b c +===DONE=== Modified: php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug41947.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug41947.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug41947.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #41947 (addChild incorrectly registers empty strings as namespaces) +--SKIPIF-- + --FILE-- '); @@ -7,8 +9,10 @@ $gchild = $xml->xpath("//grandchild"); if (count($gchild) > 0) { - echo $gchild[0]; + echo $gchild[0] . "\n"; } ?> +===DONE=== --EXPECT-- hello +===DONE=== Modified: php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug42369.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug42369.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug42369.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,7 +1,7 @@ --TEST-- Bug #42369 (Implicit conversion to string leaks memory) --SKIPIF-- - + --FILE-- '; @@ -17,9 +17,9 @@ md5($x->x); } - echo 'done' . PHP_EOL; ?> +===DONE=== --EXPECT-- explicit conversion no conversion -done \ No newline at end of file +===DONE=== \ No newline at end of file Modified: php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug43221.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug43221.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug43221.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #43221 (SimpleXML adding default namespace in addAttribute) +--SKIPIF-- + --FILE-- '); @@ -9,7 +11,10 @@ $n->addAttribute("foo:e", "f", "http://bar.com"); print_r($xml->asXml()); ?> +===DONE=== --EXPECTF-- Warning: SimpleXMLElement::addAttribute(): Attribute requires prefix for namespace in %sbug43221.php on line %d -value \ No newline at end of file +value +===DONE=== + \ No newline at end of file Modified: php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug44478.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug44478.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug44478.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #44478 (Inconsistent behaviour when assigning new nodes) +--SKIPIF-- + --FILE-- '); @@ -15,6 +17,7 @@ print $xml_element->asXML(); ?> +===DONE=== --EXPECTF-- a & b a & b @@ -22,3 +25,5 @@ a & b a & ba & b +===DONE=== + \ No newline at end of file Modified: php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug45553.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug45553.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug45553.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #45553 (Using XPath to return values for attributes with a namespace does not work) +--SKIPIF-- + --FILE-- xpath("/xml/data/@label"); echo $atts[0] . "\n"; ?> +===DONE=== --EXPECTF-- I am A I am a:Nothing I am a:A I am a:Nothing -I am Nothing \ No newline at end of file +I am Nothing +===DONE=== + \ No newline at end of file Modified: php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug46003.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug46003.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug46003.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #46003 (isset on nonexisting nodes return unexpected results) +--SKIPIF-- + --FILE-- o->text)); var_dump(isset($x->o->xx)); ?> +===DONE=== --EXPECTF-- bool(true) bool(false) bool(true) bool(false) bool(false) -bool(true) \ No newline at end of file +bool(true) +===DONE=== + \ No newline at end of file Modified: php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug46047.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug46047.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_2/ext/simplexml/tests/bug46047.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #46047 (SimpleXML converts empty nodes into object with nested array) +--SKIPIF-- + --FILE-- ', @@ -12,6 +14,7 @@ $xml = new SimpleXMLElement(''); print_r($xml); ?> +===DONE=== --EXPECTF-- SimpleXMLElement Object ( @@ -45,4 +48,5 @@ ( ) -) \ No newline at end of file +) +===DONE=== \ No newline at end of file Modified: php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug36611.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug36611.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug36611.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -19,12 +19,12 @@ $val = 1; var_dump($val); -$obj->pos["act_idx"] = $val; +$zml->pos["act_idx"] = $val; var_dump($val) ; -echo "Done\n"; ?> +===DONE=== --EXPECT-- int(1) int(1) -Done +===DONE=== Modified: php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug40451.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug40451.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug40451.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #40451 (addAttribute() may crash when used with non-existent child node) +--SKIPIF-- + --FILE-- addChild('Host'); $add->Host->addAttribute('enable', 'true'); -echo "Done\n"; ?> +===DONE=== --EXPECTF-- Warning: SimpleXMLElement::addAttribute(): Unable to locate parent Element in %s on line %d -Done +===DONE=== Modified: php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug41175.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug41175.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug41175.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #41175 (addAttribute() fails to add an attribute with an empty value) +--SKIPIF-- + --FILE-- addAttribute("alt", ""); echo $xml->asXML(); -echo "Done\n"; ?> +===DONE=== --EXPECT-- -Done \ No newline at end of file +===DONE=== \ No newline at end of file Modified: php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug41582.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug41582.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug41582.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #41582 (SimpleXML crashes when accessing newly created element) +--SKIPIF-- + --FILE-- asXml()); -echo "Done\n"; ?> +===DONE=== --EXPECT-- Miss Coder -Done +===DONE=== Modified: php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug41861.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug41861.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug41861.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #41861 (getNamespaces() returns the namespaces of a node's siblings) + --SKIPIF-- + --FILE-- +===DONE=== --EXPECT-- root(recursive): 'root' -- namespaces: #ns1, #ns2, #ns3 root(non-recursive): 'root' -- namespaces: @@ -36,3 +39,4 @@ children(#ns1): 'node1' -- namespaces: #ns1 children(#ns2): 'node2' -- namespaces: #ns2 children(#ns3): 'node3' -- namespaces: #ns3 +===DONE=== \ No newline at end of file Modified: php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug41867.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug41867.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug41867.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,14 +1,18 @@ --TEST-- Bug #41867 (getName is broken) +--SKIPIF-- + --FILE-- "); echo $a->getName()."\n"; echo $a->b->getName()."\n"; -echo $a->b->c->getName(); +echo $a->b->c->getName()."\n"; ?> +===DONE=== --EXPECT-- a b c +===DONE=== Modified: php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug41947.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug41947.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug41947.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #41947 (addChild incorrectly registers empty strings as namespaces) +--SKIPIF-- + --FILE-- '); @@ -7,8 +9,10 @@ $gchild = $xml->xpath("//grandchild"); if (count($gchild) > 0) { - echo $gchild[0]; + echo $gchild[0]."\n"; } ?> +===DONE=== --EXPECT-- hello +===DONE=== Modified: php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug42259.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug42259.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug42259.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,6 +1,8 @@ --TEST-- Bug #42259 (SimpleXMLIterator loses ancestry) --SKIPIF-- + +--SKIPIF-- + --FILE-- '; @@ -17,9 +17,9 @@ md5($x->x); } - echo 'done' . PHP_EOL; ?> +===DONE=== --EXPECT-- explicit conversion no conversion -done \ No newline at end of file +===DONE=== \ No newline at end of file Modified: php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug43221.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug43221.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug43221.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #43221 (SimpleXML adding default namespace in addAttribute) +--SKIPIF-- + --FILE-- '); @@ -9,7 +11,10 @@ $n->addAttribute("foo:e", "f", "http://bar.com"); print_r($xml->asXml()); ?> +===DONE=== --EXPECTF-- Warning: SimpleXMLElement::addAttribute(): Attribute requires prefix for namespace in %sbug43221.php on line %d -value \ No newline at end of file +value +===DONE=== + \ No newline at end of file Modified: php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug44478.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug44478.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug44478.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #44478 (Inconsistent behaviour when assigning new nodes) +--SKIPIF-- + --FILE-- '); @@ -15,6 +17,7 @@ print $xml_element->asXML(); ?> +===DONE=== --EXPECTF-- a & b a & b @@ -22,3 +25,5 @@ a & b a & ba & b +===DONE=== + \ No newline at end of file Modified: php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug45553.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug45553.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug45553.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #45553 (Using XPath to return values for attributes with a namespace does not work) +--SKIPIF-- + --FILE-- xpath("/xml/data/@label"); echo $atts[0] . "\n"; ?> +===DONE=== --EXPECTF-- I am A I am a:Nothing I am a:A I am a:Nothing -I am Nothing \ No newline at end of file +I am Nothing +===DONE=== + \ No newline at end of file Modified: php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug46003.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug46003.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug46003.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #46003 (isset on nonexisting nodes return unexpected results) +--SKIPIF-- + --FILE-- o->text)); var_dump(isset($x->o->xx)); ?> +===DONE=== --EXPECTF-- bool(true) bool(false) bool(true) bool(false) bool(false) -bool(true) \ No newline at end of file +bool(true) +===DONE=== + \ No newline at end of file Modified: php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug46047.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug46047.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug46047.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #46047 (SimpleXML converts empty nodes into object with nested array) +--SKIPIF-- + --FILE-- ', @@ -12,6 +14,7 @@ $xml = new SimpleXMLElement(''); print_r($xml); ?> +===DONE=== --EXPECTF-- SimpleXMLElement Object ( @@ -45,4 +48,6 @@ ( ) -) \ No newline at end of file +) +===DONE=== + \ No newline at end of file Modified: php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug46048.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug46048.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/branches/PHP_5_3/ext/simplexml/tests/bug46048.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #46048 (SimpleXML top-level @attributes not part of iterator) +--SKIPIF-- + --FILE-- +===DONE=== --EXPECT-- Array ( @@ -21,4 +23,4 @@ [key] => value ) -Done +===DONE=== Modified: php/php-src/trunk/ext/simplexml/tests/bug36611.phpt =================================================================== --- php/php-src/trunk/ext/simplexml/tests/bug36611.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/trunk/ext/simplexml/tests/bug36611.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -19,14 +19,13 @@ $val = 1; var_dump($val); -$obj->pos["act_idx"] = $val; +$xml->pos["act_idx"] = $val; var_dump($val) ; -echo "Done\n"; ?> +===DONE=== --EXPECTF-- int(1) - -Strict Standards: Creating default object from empty value in %s on line %d int(1) -Done +===DONE=== + \ No newline at end of file Modified: php/php-src/trunk/ext/simplexml/tests/bug42369.phpt =================================================================== --- php/php-src/trunk/ext/simplexml/tests/bug42369.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/trunk/ext/simplexml/tests/bug42369.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,7 +1,7 @@ --TEST-- Bug #42369 (Implicit conversion to string leaks memory) --SKIPIF-- - + --FILE-- '; @@ -17,9 +17,10 @@ md5($x->x); } - echo 'done' . PHP_EOL; ?> +===DONE=== --EXPECT-- explicit conversion no conversion -done \ No newline at end of file +===DONE=== + \ No newline at end of file Modified: php/php-src/trunk/ext/simplexml/tests/bug43221.phpt =================================================================== --- php/php-src/trunk/ext/simplexml/tests/bug43221.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/trunk/ext/simplexml/tests/bug43221.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #43221 (SimpleXML adding default namespace in addAttribute) +--SKIPIF-- + --FILE-- '); @@ -9,7 +11,10 @@ $n->addAttribute("foo:e", "f", "http://bar.com"); print_r($xml->asXml()); ?> +===DONE=== --EXPECTF-- Warning: SimpleXMLElement::addAttribute(): Attribute requires prefix for namespace in %sbug43221.php on line %d -value \ No newline at end of file +value +===DONE=== + \ No newline at end of file Modified: php/php-src/trunk/ext/simplexml/tests/bug44478.phpt =================================================================== --- php/php-src/trunk/ext/simplexml/tests/bug44478.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/trunk/ext/simplexml/tests/bug44478.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #44478 (Inconsistent behaviour when assigning new nodes) +--SKIPIF-- + --FILE-- '); @@ -15,6 +17,7 @@ print $xml_element->asXML(); ?> +===DONE=== --EXPECTF-- a & b a & b @@ -22,3 +25,5 @@ a & b a & ba & b +===DONE=== + \ No newline at end of file Modified: php/php-src/trunk/ext/simplexml/tests/bug45553.phpt =================================================================== --- php/php-src/trunk/ext/simplexml/tests/bug45553.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/trunk/ext/simplexml/tests/bug45553.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #45553 (Using XPath to return values for attributes with a namespace does not work) +--SKIPIF-- + --FILE-- xpath("/xml/data/@label"); echo $atts[0] . "\n"; ?> +===DONE=== --EXPECTF-- I am A I am a:Nothing I am a:A I am a:Nothing -I am Nothing \ No newline at end of file +I am Nothing +===DONE=== + \ No newline at end of file Modified: php/php-src/trunk/ext/simplexml/tests/bug46003.phpt =================================================================== --- php/php-src/trunk/ext/simplexml/tests/bug46003.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/trunk/ext/simplexml/tests/bug46003.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #46003 (isset on nonexisting nodes return unexpected results) +--SKIPIF-- + --FILE-- o->text)); var_dump(isset($x->o->xx)); ?> +===DONE=== --EXPECTF-- bool(true) bool(false) bool(true) bool(false) bool(false) -bool(true) \ No newline at end of file +bool(true) +===DONE=== + \ No newline at end of file Modified: php/php-src/trunk/ext/simplexml/tests/bug46047.phpt =================================================================== --- php/php-src/trunk/ext/simplexml/tests/bug46047.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/trunk/ext/simplexml/tests/bug46047.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #46047 (SimpleXML converts empty nodes into object with nested array) +--SKIPIF-- + --FILE-- ', @@ -12,6 +14,7 @@ $xml = new SimpleXMLElement(''); print_r($xml); ?> +===DONE=== --EXPECTF-- SimpleXMLElement Object ( @@ -45,4 +48,6 @@ ( ) -) \ No newline at end of file +) +===DONE=== + \ No newline at end of file Modified: php/php-src/trunk/ext/simplexml/tests/bug46048.phpt =================================================================== --- php/php-src/trunk/ext/simplexml/tests/bug46048.phpt 2009-08-03 22:25:53 UTC (rev 286769) +++ php/php-src/trunk/ext/simplexml/tests/bug46048.phpt 2009-08-03 22:40:58 UTC (rev 286770) @@ -1,5 +1,7 @@ --TEST-- Bug #46048 (SimpleXML top-level @attributes not part of iterator) +--SKIPIF-- + --FILE-- +===DONE=== --EXPECT-- Array ( @@ -21,4 +23,4 @@ [key] => value ) -Done +===DONE===