Re: Tags lacking a terminating '>' are spotted

At 11:25 am +0000 7/2/02, Dave Raggett wrote:
>On Thu, 7 Feb 2002, Richard A. O'Keefe wrote:
>
>>  bfowler@ewitness.co.uk (ewitness - Ben Fowler) wrote:
>>	I had simply assumed that under SGML rules, tags were closed
>>	when a new STAGO was seen, exempli gratia:
>>
>>	<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>>	    "http://www.w3.org/TR/html4/loose.dtd">
>>	<html
>>	   <head
>>  ...
>>
>>  Quite some time ago, I posted patches to make this work.
>
>I seem to remember that is is disallowed by the HTML spec, but
>in any case won't work with existing web browsers.

I hope that I am not reading this backwards.

If Tidy does not already do so is there a reason why
it should not normalise sgml-valid unclosed tags?

Surely one of the raison d'etres of Tidy is to fix
syntactically valid but not browser ready mark-up?

Ben

Received on Thursday, 7 February 2002 08:10:35 UTC