Re: document.write

Herr Christian Wolfgang Hujer wrote:
> document.write() should not work for any XHTML at all, as long as the user
> agent recognizes that the document is XHTML and not HTML.

Why?  There is nothing I can see in any specification preventing 
application of the HTML DOM to XHTML documents.... (and in fact Mozilla 
may well end up supporting that -- see 
http://bugzilla.mozilla.org/show_bug.cgi?id=111514).  It likely won't 
implement document.write() for such documents, but that's due to 
implementation issues, not to anything I can see in a specification.

Received on Wednesday, 2 April 2003 15:43:16 UTC