#33843 [Opn->Bgs]: shore_open_tag =On incorrextly reads <?xml
| From: | derick@php.net | Date: | Sun, 24 Jul 2005 04:46:41 +0000 |
| Subject: | #33843 [Opn->Bgs]: shore_open_tag =On incorrextly reads <?xml | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-82373@lists.php.net to get a copy of this message | ||
ID: 33843
Updated by: derick@php.net
Reported By: thenetimp2000 at yahoo dot com
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: OSX and Linux
PHP Version: 5.0.4
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
.
Previous Comments:
------------------------------------------------------------------------
[2005-07-24 04:11:46] thenetimp2000 at yahoo dot com
Description:
------------
I wanted to use php to print out xml data.using
<?xml version="1.0" encoding="ISO-8859-1"?> at the top of the
page, I started writing code. When I ran the script the page
was blank. when I placed the XML tag in a print statement
everything showed up, This only happened with shore_open_tag
on, so short_open_tag = On doesn't chek for <?xxx in case you
are printing out a different file type other than HTML. It
really should check for a space after the ?
Reproduce code:
---------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<imagedata uid="1" iid="1">
Expected result:
----------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<imagedata uid="1" iid="1">
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33843&edit=1