Re: Trouble accessing a Custom .dtd

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 UTC