HTML APIs

Revisiting the HTML DOM, which I'd mostly ignored in the past...

If someone hands a parser a badly-formed HTML file without the <HTML>
wrapper, does the DOM assume that an HTML element will be synthesized to be
the single content root (DocumentElement)? Or should an HTML DOM accurately
record the multiple-root structure of the broken file?

______________________________________
Joe Kesselman  / IBM Research
Unless stated otherwise, all opinions are solely those of the author.

Received on Wednesday, 30 December 1998 03:42:54 UTC