Re: My page doesn't validate

Liam Quinn <liam@htmlhelp.com> wrote:

> You can configure your server to send /DTDs/xhtml-target-frames.dtd with a
> Content-Type of text/xml rather than application/octet-stream.

You MUST NOT use 'text/xml' for XML DTDs.  You SHOULD use
'application/xml-dtd' instead.  This is one of major changes
between RFC 2376 [1] and RFC 3023 [2].  For details you may
compare "3 XML Media Types" of both RFCs, but in summary,
"Appendix B. Changes from RFC 2376" of RFC 3023 says as follows:

   Second, application/xml-dtd is added as a media type for external DTD
   subsets and external parameter entities, and text/xml and
   application/xml are now prohibited.

[1] http://www.rfc-editor.org/rfc/rfc2376.txt
[2] http://www.rfc-editor.org/rfc/rfc3023.txt

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium

Received on Wednesday, 26 June 2002 02:46:45 UTC