Bug #16963 Updated: problem with <?xml
| From: | bate@php.net | Date: | Thu, 02 May 2002 13:20:21 +0000 |
| Subject: | Bug #16963 Updated: problem with <?xml | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-6729@lists.php.net to get a copy of this message | ||
ID: 16963
Updated by: bate@php.net
Reported By: bate@php.net
Status: Bogus
Bug Type: *General Issues
Operating System: Linux
PHP Version: 4.2.0
New Comment:
Derick, most public ISP didn't disable shortags. And i think its better
to check the chars behind the <? tag.
if none its look like php short tag.
Previous Comments:
------------------------------------------------------------------------
[2002-05-02 09:16:17] derick@php.net
Disable short tags.
Nog a bug > bogus.
------------------------------------------------------------------------
[2002-05-02 09:15:14] bate@php.net
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>TEST</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
/>
</head>
<body leftmargin="0" topmargin="0" marginwidth="00">
<? echo "This is a Test"; ?>
</body>
</html>
Parse error: parse error, unexpected T_STRING in
/usr/local/httpd/htdocs/coding/bug/xml.php on line 1
Its seems to be a bug with the <?xml stuff.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16963&edit=1