Thomas 'PointedEars' Lahn said the following on 1/26/2006 10:46 PM:
> jiing wrote:
>
>> Thomas 'PointedEars' Lahn ???
>>> Note that the resulting _HTML_ (it is inner_HTML_ for a reason!) will not
>>> be Valid and is likely not to work. Also note that there are more
>>> boolean attributes in HTML than just `checked' and `selected'. I really
>>> wonder why you are attempting this in the first place.
>>> [...]
>
> Please do not quote signatures unless you are referring directly to them.
There is no "signature" in your post according to the specs you like to
quote so much. A "proper signature" is delimited by <dash><dash><space>
and since your post does not contain that sequence of characters then
the only sensible conclusion is that your post has no signature. So, how
does one quote something that doesn't exist?
If you don't want your "signature" quoted, then please delimit it
properly. Thanks.
>> [...]
>> My goal is to make the IE's DOM to fit the W3C standard
>> for example, IE's DOM will let
>> <input type="checkbox" CHECKED> rather than
>> <input type="checkbox" checked="checked"> //W3C standard
>
> How did you get that idea? The former is Valid HTML which is an SGML
> application;
Both are Valid HTML 4.01 Strict.
> Do not fall for the XHTML hype, see below.
>
> <URL:http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2>
> <URL:http://www.w3.org/TR/xhtml1/#C_10>
> <URL:http://validator.w3.org/>
>
>> Do you know any good method to transfer IE's DOM to W3C standard.
>
> There is none reasonable. Are you misguidedly serving XHTML as text/_html_
> to IE and now are wondering why .inner_HTML_ reads _HTML_ and not XHTML?
> Do not serve it as text/html but as application/xhtml+xml (and IE will
> eventually fail to display what it in fact does not support at all), and
> do use an XML serializer then, or serve _HTML_ as text/html instead.
A better alternative is to simply server it as text/html with an
appropriate DTD and not fall for the temptation of XHTML no matter who
hypes it. At least until some version of IE supports it. Until then, it
is not worth the effort to code to XHTML standards.
--
Randy
comp.lang.javascript FAQ -
http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices -
http://www.JavascriptToolbox.com/bestpractices/