Bug #51521 [NEW]: XMLReader doesn't open files via stream_wrapper
From:
Operating system: Linux i686
PHP version: 5.3.2
Package: XML Reader
Bug Type: Bug
Bug description:XMLReader doesn't open files via stream_wrapper
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 bug report at http://bugs.php.net/bug.php?id=51521&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51521&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51521&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51521&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=51521&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51521&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=51521&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=51521&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=51521&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=51521&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=51521&r=support
Expected behavior: http://bugs.php.net/fix.php?id=51521&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=51521&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=51521&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=51521&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51521&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=51521&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=51521&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=51521&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=51521&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=51521&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=51521&r=mysqlcfg
Thread (6 messages)
- andrey at niakhaichyk dot org