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: [XHTML2] CITELANG, TITLELANG attributes

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 29 Jul 2004 22:50:10 +0000 (UTC)
To: Trejkaz Xaoza <trejkaz@xaoza.net>
Cc: www-html@w3.org
Message-ID: <Pine.LNX.4.61.0407292247160.26359@dhalsim.dreamhost.com>

On Fri, 30 Jul 2004, Trejkaz Xaoza wrote:
>>
>> But the XHTML spec doesn't require this -- it only requires 
>> wellformedness checking.
>
> Oh great.  So regardless of what gets specified, we will still get 
> people using random tag soup instead of valid XHTML, thanks to the 
> browsers following a spec which says they're allowed to render invalid 
> documents.

The primary problem with Tag Soup is not that documents are invalid, it's 
that documents are ambiguous.

What does:

    <strong> A <em> B </strong> C </em>

...translate to, as far as the DOM and CSS goes? No spec defines this.

In XHTML, because of XML wellformedness rules, the above MUST cause the 
processor to abort, so it is never a problem.

Now, if an author says:

    <ul>
     <p> Something </p>
    </ul>

...it might be _semantically_ unclear what they mean, but at least 
syntactically, it is unambiguous, and thus there is a single correct 
rendering and correct DOM.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/        U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 29 July 2004 18:50:26 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.