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
[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

 ___[ 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 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:08:53 UTC