Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

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

From: David Woolley <david@djwhome.demon.co.uk>
Date: Thu, 23 Jun 2005 22:35:23 +0100 (BST)
Message-Id: <200506232135.j5NLZOG03265@djwhome.demon.co.uk>
To: www-html@w3.org

> I don’t think it is as much a matter of stealing as that they just had 
> to pick a delimiter character - had they used e.g. % instead of ?, the 
> ASP and JSP folks would perhaps not have liked that.

I don't know the early history of PHP, but I strongly suspect that they
use ? for the same reason that XML uses it, namely it is the proper
way of forming an SGML processing instruction.  The name after
the ? tells you what processor is supposed to handle that instruction,
so there is no conflict between XML and PHP if you use properly
formed processing instructions.

For some reason, PHP also chose to allow an abbreviated form, that
doesn't indicate the processor, so will cause conflicts, but that
was just a convenience for pure HTML use.  It makes the resulting
input document invalid, whereas the full form is valid SGML.
Received on Thursday, 23 June 2005 21:40:06 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.