W3C home > Mailing lists > Public > www-talk@w3.org > July to August 2001

Re: Wrong MIME type for XML DTDs

From: William F. Hammond <hammond@csc.albany.edu>
Date: Wed, 1 Aug 2001 09:32:09 -0400 (EDT)
Message-Id: <200108011332.f71DW9r16895@pluto.math.albany.edu>
To: www-html@w3.org, www-talk@w3.org
> We recently hit upon this snag in the W3C HTML Validator when the SGML
> parser in use rejected these DTDs due to an incorrect Content-Type.

I could not re-create this.  Could you be more specific.  Might this
be a CGI issue?  Might it be a form-based file upload issue?

> It is also worth noting that the IETF has repeatedly refused any attempt to
> impose pseudo-structure, even by convention, on the «text/plain» media

Of course.  Correctly so.

But what we call a DTD here is not a free-standing markup object in
the context of XHTML.

An HTTP reference inside the prolog of an XHTML document is different
from an HTTP reference in the "href" attribute of an "a" element.  For
the latter in this instance "text/plain" is correct and for the former
"text/plain" is adequate.  The term "sniffing" would apply to any
automatic processing inference made about content obtained through an
"href" but not through a prolog reference.

                                    -- Bill
Received on Wednesday, 1 August 2001 09:32:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:26 GMT