Hi,

> From: http://www.w3.org/TR/2000/REC-xml-20001006#sec-pi
>
> [16]  PI       ::=    '<?' PITarget (S (Char* - (Char* '?>' Char*)))? '?>'
> [17]  PITarget ::=    Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))
>
>  [3]  S        ::=    (#x20 | #x9 | #xD | #xA)+
>  [2]  Char     ::=    #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] |
[#x10000-#x10FFFF]
>
> Meaning that between <?php and ?> everytning is allowed but '?>'.

Nice to know! Not that it matters to the <?php= discussion, because if
someone doesn't want to make a valid XML document he has plenty ways of
doing that...

About the <?php= thing: IMHO it can be put in, because the people who don't
like it just won't use it... I understand that others want to keep the
language clean, which is very important too! I probably wouldn't use it, but
I have nothing against it either.

But: very nice to know the XML thing. Thanks!
Sander.



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to