Re: Problems with xhtml11.dtd?

Tom Gilder wrote:

> For some reason IE only puts the page through its XML parser if you have two
> xml-stylesheet commands - remove one or both and the error disappears.

Well, this behaviour isn't caused by 'xml-stylesheet' processing
instructions - the problem is the amount of bytes before the the <html>
tag. IE's MIME type detection takes the leading 256 bytes into account.
At <>, it sees the XML declaration, but not the
<html> tag, and concludes there's an XML document.

Christoph Schneegans


Received on Friday, 17 May 2002 08:59:45 UTC