W3C home > Mailing lists > Public > www-html-editor@w3.org > January to March 2009

Re: [Moderator Action] Missing DTD files

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Tue, 31 Mar 2009 20:43:41 +0200
To: <site-comments@w3.org>
Cc: <www-html-editor@w3.org>
Message-ID: <C77CF207DCBB458E89810730497CEF3A@POCZTOWIEC>
The recommended DTD files for XHTML are missing at W3C. The present message
contains an examination of the case and suggests a workaround. 
  _____  


Diagnosis:


For the SYSTEM <http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>
identifier for XHTML 1.0 Transitional as recommended by Strictly Conforming
Documents <http://www.w3.org/TR/xhtml1/#normative>  the server reply is

Service Unavailable


Content-Location: msie7.asis <http://www.w3.org/TR/xhtml1/DTD/msie7.asis> 


Vary: negotiate, User-Agent

And when you try the content location explicitly, you get

Not Found

Therefore, XHTML documents with the recommended DOCTYPE do not validate as
XML.  This misconfiguration is a severe bug and it may cause major
disruption to XML applications worldwide.


Workaround:


1.       the links in Document
<http://www.w3.org/TR/2002/REC-xhtml1-20020801/Overview.html#dtds>  Type
Definitions work,

2.       you are free to use any
<http://www.w3.org/TR/html/DTD/xhtml1-strict.dtd>  SYSTEM identifier that
works, although it is not recommended.

Note that all DTDs refer to the invalid location in the usage section.


BTW: 


Why are the DTDs served as text/plain?  They should be served as
application/sgml and application/xml-dtd, as applicable!

  _____  

HTH,

Chris
Received on Tuesday, 31 March 2009 18:46:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:17:59 GMT