W3C home > Mailing lists > Public > www-validator@w3.org > June 2002

Re: My page doesn't validate

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Wed, 26 Jun 2002 15:46:42 +0900 (JST)
Message-Id: <20020626.154642.71094413.mimasa@w3.org>
To: www-validator@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:03 GMT