cvs: php-src /ext/simplexml/tests 002.phpt 002.xml

From: Date: Mon, 30 Jun 2003 18:09:12 +0000
Subject: cvs: php-src /ext/simplexml/tests 002.phpt 002.xml
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-22186@lists.php.net to get a copy of this message
sterling Mon Jun 30 14:09:12 2003 EDT Added files: /php-src/ext/simplexml/tests 002.phpt 002.xml Log: add a test for shane's bug #24392 Index: php-src/ext/simplexml/tests/002.phpt +++ php-src/ext/simplexml/tests/002.phpt --TEST-- Checking bug #24392, empty namespaces causing confusion --SKIPIF-- <?php if (!extension_loaded("simplexml")) print "skip"; ?> --POST-- --GET-- --INI-- --FILE-- <?php $s = simplexml_load_file('ext/simplexml/tests/002.xml'); foreach ($s->item as $item) { echo $item->title . "\n"; } ?> --EXPECT-- EU Parliament to Vote on New Patent Rules Most Powerful Amateur Rocket in Canada GF FX 5900 Ultra vs. ATi Radeon 9800 Pro PHP 5 Beta 1 Engaging with the OSS Community Pure Math, Pure Joy Windows Tech Writer Looks at Linux US Cell Phone Users Discover SMS Spam Verizon Sues Nextel For Espionage Introduction to Debian Index: php-src/ext/simplexml/tests/002.xml +++ php-src/ext/simplexml/tests/002.xml <?xml version="1.0"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://my.netscape.com/rdf/simple/0.9/"> <channel> <title>Slashdot</title> <link>http://slashdot.org/</link> <description>News for nerds, stuff that matters</description> </channel> <image> <title>Slashdot</title> <url>http://images.slashdot.org/topics/topicslashdot.gif</url> <link>http://slashdot.org/</link> </image> <item> <title>EU Parliament to Vote on New Patent Rules</title> <link>http://slashdot.org/article.pl?sid=03/06/30/002211</link> </item> <item> <title>Most Powerful Amateur Rocket in Canada</title> <link>http://slashdot.org/article.pl?sid=03/06/29/2121211</link> </item> <item> <title>GF FX 5900 Ultra vs. ATi Radeon 9800 Pro</title> <link>http://slashdot.org/article.pl?sid=03/06/29/202218</link> </item> <item> <title>PHP 5 Beta 1</title> <link>http://slashdot.org/article.pl?sid=03/06/29/1957253</link> </item> <item> <title>Engaging with the OSS Community</title> <link>http://slashdot.org/article.pl?sid=03/06/29/1913235</link> </item> <item> <title>Pure Math, Pure Joy</title> <link>http://slashdot.org/article.pl?sid=03/06/29/183258</link> </item> <item> <title>Windows Tech Writer Looks at Linux</title> <link>http://slashdot.org/article.pl?sid=03/06/29/1554201</link> </item> <item> <title>US Cell Phone Users Discover SMS Spam</title> <link>http://slashdot.org/article.pl?sid=03/06/29/1542249</link> </item> <item> <title>Verizon Sues Nextel For Espionage</title> <link>http://slashdot.org/article.pl?sid=03/06/29/1443230</link> </item> <item> <title>Introduction to Debian</title> <link>http://slashdot.org/article.pl?sid=03/06/29/1424213</link> </item> <textinput> <title>Search Slashdot</title> <description>Search Slashdot stories</description> <name>query</name> <link>http://slashdot.org/search.pl</link> </textinput> </rdf:RDF>

« previous php.cvs (#22186) next »