W3C home > Mailing lists > Public > www-validator@w3.org > February 2010

Re: HTML4 + <script><![CDATA[ </ENDTAG> ]]></script>

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Fri, 5 Feb 2010 15:42:44 +0100
To: David Dorward <david@dorward.me.uk>
Cc: www-validator@w3.org
Message-ID: <20100205154244435420.4ad7060b@xn--mlform-iua.no>
David Dorward, Fri, 5 Feb 2010 14:23:17 +0000:
> 
> On 5 Feb 2010, at 14:14, Leif Halvard Silli wrote:
>>> 1. From an aesthetic point of view, it is just an ugly mass of code
>> 
>> Less ugly, to me, than end tag escaping.
> 
> Tag escaping is simple, valid, and doesn't depend on incorrect behaviour.

Indeed, it is an option. But many pages are invalid because they don't 
do this.

And for my own part, all this started because I stumbled upon a kind of 
script which did not accept end tag escaping - because the script was 
actually a XML language ...

To me, the only alternative, it is really to use XHTML instead of HTML4 
... That actually is simpler.
 
>>> 2. It depends on browsers implementing HTML 4.01 incorrectly in order 
>>> to work
>> 
>> HTML4 warns against using </>  - doesn't expect correct implementation.
> 
> HTML 4 warns against *authors* using </> because there are a lot of 
> incorrect implementations out there. It doesn't exclude the 
> possibility of correct implementations.

I agree. But *I* exclude that possibility. ;-)

>>> 3. It throws warnings in the validator
>> 
>> Of course. The congratulations message counts more, though. ;-)
> 
> And using the standard method gives neither warnings nor errors.

I feel you put a double meaning in 'standard' here. ;-) A warning is a 
warning. But still within the standard.
-- 
leif halvard silli
Received on Friday, 5 February 2010 14:43:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:39 GMT