From:             thenetimp2000 at yahoo dot com
Operating system: OSX and Linux
PHP version:      5.0.4
PHP Bug Type:     Scripting Engine problem
Bug description:  shore_open_tag =On incorrextly reads <?xml

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 bug report at http://bugs.php.net/?id=33843&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33843&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33843&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33843&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33843&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33843&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33843&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33843&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33843&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33843&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33843&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=33843&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=33843&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33843&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33843&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33843&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33843&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33843&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33843&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33843&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33843&r=mysqlcfg

Reply via email to