W3C home > Mailing lists > Public > www-html-editor@w3.org > January to March 2005

XHTML 2 Typo and <? ?> shortcut tag

From: Yan Morin <yansanmo@iquebec.com>
Date: Wed, 16 Mar 2005 22:04:46 GMT
To: <www-html-editor@w3.org>
Message-id: <0503162204.2e019d@th00.idoo.com>

There is a typo in XHTML 2
http://www.w3.org/TR/xhtml2/Overview.html
[PR #7336] Identifying XHTML version in ansence of DTDs
and http://www.w3.org/TR/xhtml2/xhtml2-doctype.html#s_doctype_issue_0

The "ansence" for "absence" ?

For the <?xml ?>, <?php ?>, <? ?> issue, PHP documentation talks about
that : http://ca.php.net/manual/en/ini.core.php#ini.short-open-tag

short_open_tag  boolean

    Tells whether the short form (<? ?>) of PHP's open tag should be
allowed. If you want to use PHP in combination with XML, you can disable
this option in order to use <?xml ?> inline. Otherwise, you can print it
with PHP, for example: <?php echo '<?xml version="1.0"'; ?>. Also if
disabled, you must use the long form of the PHP open tag (<?php ?>).

        Note: This directive also affects the shorthand <?=, which is
identical to <? echo. Use of this shortcut requires short_open_tag to be
on. 


 ___[ Pub ]____________________________________________________________
Envie de discuter gratuitement avec vos amis ?
TÚlÚchargez Yahoo! Messenger http://yahoo.ifrance.com
Received on Wednesday, 16 March 2005 22:05:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:17:54 GMT