Page is a not externally linkable
tedster - 3:45 pm on Apr 2, 2006 (gmt 0)
...and [edited by: tedster at 3:50 pm (utc) on April 2, 2006]
I noticed that several issues come up around scripts: A DOM-based script written for an HTML4 document has subtly
different semantics in an XHTML context (e.g. element names are
case insensitive and returned in uppercase in HTML4, case sensitive
and always lowercase in XHTML; you have to use the namespace-aware
methods in XHTML, but not in HTML4). BUT, if you send your
documents as text/html, then they will use the HTML4 semantics
DESPITE being XHTML! Thus, scripts are highly likely to break when
the document is parsed as XHTML. Scripts that use document.write() will not work in XHTML contexts.
(You have to use DOM Core methods.)