cvs: php-src /ext/simplexml/tests 031.phpt

From: Date: Tue, 20 Jun 2006 19:04:58 +0000
Subject: cvs: php-src /ext/simplexml/tests 031.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-38830@lists.php.net to get a copy of this message
tony2001 Tue Jun 20 19:04:58 2006 UTC Modified files: /php-src/ext/simplexml/tests 031.phpt Log: fix test http://cvs.php.net/viewvc.cgi/php-src/ext/simplexml/tests/031.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/simplexml/tests/031.phpt diff -u php-src/ext/simplexml/tests/031.phpt:1.1 php-src/ext/simplexml/tests/031.phpt:1.2 --- php-src/ext/simplexml/tests/031.phpt:1.1 Mon Mar 6 20:16:03 2006 +++ php-src/ext/simplexml/tests/031.phpt Tue Jun 20 19:04:57 2006 @@ -56,13 +56,13 @@ <s:test1>myval</s:test1><m:test2 xmlns:m="urn::testnew">myval</m:test2><test3 xmlns="urn::testnew">myval</test3><test4>myval</test4><test5>myval</test5></root> ===DONE=== --UEXPECTF-- -unicode(3) "Joe" -int(3) -int(0) -unicode(4) "John" -int(3) -int(1) -unicode(4) "Jane" -int(3) -int(0) -===DONE=== \ No newline at end of file +Warning: SimpleXMLElement::addAttribute(): Attribute already exists in %s on line %d + +Warning: SimpleXMLElement::addChild(): Cannot add element to attributes in %s on line %d +<?xml version="1.0"?> +<root xmlns:s="urn::test" xmlns:t="urn::test-t" xmlns:v="urn::test-v" s:att1="b" att1="a" v:att11="xxx" att2="no-ns"> + <child1>test</child1> + <child1>test 2</child1> + <s:child3/> +<s:test1>myval</s:test1><m:test2 xmlns:m="urn::testnew">myval</m:test2><test3 xmlns="urn::testnew">myval</test3><test4>myval</test4><test5>myval</test5></root> +===DONE===

« previous php.cvs (#38830) next »