#21497 [NEW]: include() of XML document fails

From: Date: Tue, 07 Jan 2003 19:15:12 +0000
Subject: #21497 [NEW]: include() of XML document fails
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-29356@lists.php.net to get a copy of this message
From: polone@townnews.com 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

« previous php.bugs (#29356) next »