W3C home > Mailing lists > Public > public-cdf@w3.org > August 2006

Re: WICD Core 1.0 : some examples are not XHTML compliant

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 14 Aug 2006 07:15:43 -0700
To: "Mark Baker" <distobj@acm.org>, "Slim Amamou" <slim.amamou@alpha-studios.com>
Cc: public-cdf@w3.org
Message-ID: <op.td91whm564w2qv@id-c0020.globalsuite.net>

On Mon, 14 Aug 2006 07:12:59 -0700, Mark Baker <distobj@acm.org> wrote:
> [...]
>
>> "
>> /Start tag: *required*, End tag: * required
>
> That's from the HTML spec.  The XHTML 1.0 spec says;
>
> "Empty elements must either have an end tag or the start tag must end  
> with />"
>   -- http://www.w3.org/TR/xhtml1/#h-4.6
>
> which that example uses.  Moreover, the example uses the
> HTML-backwards-compatible " />" (with a preceding space) form of
> closure.

FYI, it's not HTML backwards compatible given that HTML requires an end  
tag. This would only be "backwards compatible" if the element was in fact  
an HTML empty element. That should be somewhere in Appendix C of XHTML  
1.0. Not that it matters, of course as WICD is not aimed at being HTML  
compatible as I understand it.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Monday, 14 August 2006 14:15:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:41 GMT