Bug #51521 [Csd->Bgs]: XMLReader doesn't open files via stream_wrapper
| From: | pajoye@php.net | Date: | Fri, 09 Apr 2010 18:22:38 +0000 |
| Subject: | Bug #51521 [Csd->Bgs]: XMLReader doesn't open files via stream_wrapper | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-149453@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51521&edit=1
ID: 51521
Updated by: pajoye@php.net
Reported by: andrey at niakhaichyk dot org
Summary: XMLReader doesn't open files via stream_wrapper
-Status: Closed
+Status: Bogus
Type: Bug
Package: XML Reader
Operating System: Linux i686
PHP Version: 5.3.0
Previous Comments:
------------------------------------------------------------------------
[2010-04-09 19:59:13] andrey at niakhaichyk dot org
Cannot reproduce in 5.3.2
------------------------------------------------------------------------
[2010-04-09 19:58:26] andrey at niakhaichyk dot org
Cannot reproduce for PHP 5.3.2 Win x32. Seems to was fixed.
------------------------------------------------------------------------
[2010-04-09 19:56:54] andrey at niakhaichyk dot org
Tested on old PHP version
------------------------------------------------------------------------
[2010-04-09 16:58:19] andrey at niakhaichyk dot org
Description:
------------
XMLReader generates the error when tries to open files via
stream_wrapper. Works for 5.2.12
Test script:
---------------
http://niakhaichyk.org/xmlreader.bug.txt
Expected result:
----------------
PHP_VERSION: 5.3.0
XML: <?xml version="1.0" encoding="UTF-8"?><root>Thank
you</root>
root=
#text=Thank you
root=
Actual result:
--------------
PHP_VERSION: 5.3.0
XML: <?xml version="1.0" encoding="UTF-8"?><root>Thank
you</root>
Warning: XMLReader::open() [xmlreader.open]: Unable to open source data
in /var/www/vidunia/public/xmlreader.bug.php on line 12
Warning: XMLReader::read() [xmlreader.read]: Load Data before trying to
read in /var/www/vidunia/public/xmlreader.bug.php on line 13
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51521&edit=1