W3C home > Mailing lists > Public > www-validator@w3.org > February 2001

Re: Trouble accessing a Custom .dtd

From: Liam Quinn <liam@htmlhelp.com>
Date: Sun, 18 Feb 2001 11:14:13 -0500 (EST)
To: "Brian P. Giroux" <bgiroux@crosswinds.net>
cc: <www-validator@w3.org>
Message-ID: <Pine.LNX.4.30.0102181111400.839-100000@localhost.localdomain>
On Fri, 16 Feb 2001, Brian P. Giroux wrote:

> I have created a custom .dtd file
> <http://bipolarworld.vianet.ca/HTML401-strictplus.dtd> and a test file
> <http://bipolarworld.vianet.ca/test2.html> to test it. When I try to
> validate it using W3C's validator
> <http://validator.w3.org/check?uri=http%3A%2F%2Fbipolarworld.vianet.ca%2Ftest2.html&ss=>
> it tells me that:
>
> | Error: could not get "/HTML401-strictplus.dtd" from
> | "bipolarworld.vianet.ca" (reason given was "File Not Found")
>
> The WDG validator
> <http://htmlhelp.org/cgi-bin/validate.cgi?url=http%3A%2F%2Fbipolarworld.vianet.ca%2Ftest2.html&input=yes>
> gives me a similar result, without explicitly saying that it did not
> find the .dtd file.

It seems to work fine with the WDG validator, which supports name-based
virtual hosts when fetching DTDs.  The W3C validator does not send a Host:
header when fetching DTDs, and so it doesn't work with your name-based
virtual host.

-- 
Liam Quinn
Received on Sunday, 18 February 2001 11:14:37 GMT

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