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: Fri, 30 Jul 2004 10:40:08 +0000 (UTC)
To: Mikko Rantalainen <mira@cc.jyu.fi>
Cc: www-html@w3.org
Message-ID: <Pine.LNX.4.61.0407301038170.20868@dhalsim.dreamhost.com>

On Fri, 30 Jul 2004, Mikko Rantalainen wrote:
>>
>> 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.
>
> Well, let's just define that and the problem is gone. How about we say 
> that the opening tags override closing tags in case there are syntax 
> errors (or the other way around) and parser should keep a stack of open 
> elements so it can automatically close elements with incorrect markup.

That (or something like it) is what HTML should have said when it was 
first specified, yes.

By now, there are billions of pages that depend on exactly what Windows IE 
does for each possible markup error, so it's nigh on impossible to specify 
an exact algorithm.

But yes, in principle, that's exactly what I'm saying. Specs should 
define all these cases.

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