From: [EMAIL PROTECTED] Operating system: RedHat Linux 6.2 PHP version: 4.3.0 PHP Bug Type: Scripting Engine problem Bug description: include() of XML document fails
When using the include(), include_once(), require(), or require_once() functions, documents beginning with: <?xml version="1.0"?> fail to be loaded. I'm guessing this might have to do with PHP trying to interpret the <?xml as <?php, causing a fatal error. Proper operation should check for the processing instruction (PI) value of <?, that is: <? or <?php maybe interpreted as PHP, but not, <?some_other_text at the very least, not: <?xml -- Edit bug report at http://bugs.php.net/?id=21497&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21497&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21497&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21497&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21497&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21497&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21497&r=support Expected behavior: http://bugs.php.net/fix.php?id=21497&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21497&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21497&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21497&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21497&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21497&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21497&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21497&r=gnused