W3C home > Mailing lists > Public > www-validator@w3.org > November 2001

Re: XHTML top-line: <?xml ?>

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 23 Nov 2001 14:39:29 +0100
To: "Ole-Henrik Jakobsen" <ole@protocol.as>
Cc: <www-validator@w3.org>
Message-ID: <o9ksvtot5qe1d2svto3einfd3l0is65aml@4ax.com>
* Ole-Henrik Jakobsen wrote:
>Well.. -WHY- did you make <?xml version="1.1" encoding="iso-8859-1"?> ?
>Instead of making <!xml version="1.1" encoding="iso-8859-1"!> or somthing ??

SGML compatibility. This is by the way offtopic here.

>It totaly crashes with php with "short tags = on"

PHP clashes with XML, not the other way round.

>It's much easier to use <?=$variable?> than <?php print("$variable"); ?>

Sure, but what hinders you to use the former?
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Friday, 23 November 2001 08:40:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:00 GMT