W3C home > Mailing lists > Public > www-html@w3.org > June 2005

Re: XML tags are just a cheap rip-off of PHP tags

From: Jasper Bryant-Greene <jasper@bryant-greene.name>
Date: Thu, 23 Jun 2005 17:07:43 +1200
Message-ID: <42BA439F.1050508@bryant-greene.name>
To: Kelly Miller <lightsolphoenix@gmail.com>
CC: "dagobah1@optonline.net" <dagobah1@optonline.net>, www-html@w3.org

That's correct, it's been around much longer than PHP AFAIK.

Also if you turn off short_tags, which is recommended to be off anyway,
then you don't even need to echo it.

Jasper

Kelly Miller wrote:
> 
> ACTUALLY, I believe the <?...?> processing instruction syntax was
> present in SGML, which predates XML, PHP, HTML and just about any other
> language that might use this syntax.
> 
> Oh, and you can insert the XML prolog in PHP simply by echoing it:
> 
> <?php echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>"; ?>
> 
> dagobah1@optonline.net wrote:
> 
>>
>> PHP has been around long before you started working on XML, so don't
>> denie you stold their tags.
>>
>> <? ...... ?>  Couldn't you come up with something else?
>>
>> If a page ends in .php there is absoluty NO WAY to decleare XML with
>> your little
>> <?xml version="1.0" encoding="ISO-8859-1"?> tag.
>>
>> Don't you realize that by doing this, you screwed yourself.  Because
>> very few people will use that tag, and thus its death will come
>> quick.  The only pages that can use that tag are pages that end in
>> .html or .asp which are the second and their most common extensions. 
>> .php is quickly becomming number one in the extension that people use
>> for their sites.
>>
>> Now don't brush me off like you did once before when I brought this
>> up.  You people really need to realize that you aren't the smartest
>> people on Earth, and your word isn't law, and you aren't God.
>>
>>
>> P.S. I don't want that moron spartanicus (spartanicus.3@ntlworld.ie)
>> to comment, he doesn't know anything.  He's just a little sissy punk
>> whom can talk big but can't back anything up.
>>
>>
>>
> 
Received on Thursday, 23 June 2005 05:06:59 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:19:03 UTC