Re: XHTML document not implementing HTMLDocument when served as application/xml

Stanimir Stamenkov <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
Sun, 25 May 2008 03:19:42 +0300, /Stanimir Stamenkov/:

> Is there a reason XHTML documents served as 'Content-Type: 
> application/xml' not to implement the HTMLDocument interface? Safari and 
> Opera seem to create an HTMLDocument instance when served an XHTML 
> document that way.

Here's a sample document I'm trying with (attached).  The 
'document.forms' collection is not available when served as 
application/xml (e.g. when viewing from the local file system).

-- 
Stanimir

_______________________________________________
dev-tech-dom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-dom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.