Re: [PHP-DEV] A php's patch for support xhtml

2001-10-04 Thread Stig Sæther Bakken
[Alexander Wagner [EMAIL PROTECTED]] Stig Sæther Bakken wrote: 1.Add a mime/type application/x-httpd-php-xhtml to mark xhtml mode. 2.disable short-tags and asp-tags in xhtml mode. 3.add php ... /php instead ? ... ? and php-v eval=/ instead ?= ? 4.ignore '![CDATA['

Re: [PHP-DEV] A php's patch for support xhtml

2001-10-04 Thread Alexander Wagner
Stig Sæther Bakken wrote: Will newbies really use XHTML? Right now? Probably not. Or at least it's rare. But I hope this will change, and IMHO PHP shouldn't be standing in XHMTL's way. Anyway, people have been embedding PHP in WML and other XML formats without visible problems for a while

[PHP-DEV] A php's patch for support xhtml

2001-10-03 Thread Andy Yu
Hi. I don't think that php support xhtml well now, throught php-4.0.6 support script language=php tag. I modify some php source, mainly about sapi_apache zend language scanner. So that the xhtml file which comprises php code will be well xml formed. 1.Add a mime/type

Re: [PHP-DEV] A php's patch for support xhtml

2001-10-03 Thread Stig Sæther Bakken
[Andy Yu [EMAIL PROTECTED]] Hi. I don't think that php support xhtml well now, throught php-4.0.6 support script language=php tag. I modify some php source, mainly about sapi_apache zend language scanner. So that the xhtml file which comprises php code will be well xml formed.

Re: [PHP-DEV] A php's patch for support xhtml

2001-10-03 Thread Alexander Wagner
Stig Sæther Bakken wrote: 1.Add a mime/type application/x-httpd-php-xhtml to mark xhtml mode. 2.disable short-tags and asp-tags in xhtml mode. 3.add php ... /php instead ? ... ? and php-v eval=/ instead ?= ? 4.ignore '![CDATA[' and ']]' in script block. Since XHTML is