Re: Problem using non-standard DTD

Philip TAYLOR <P.Taylor@exch1.rhbnc.ac.uk> wrote:

> me all is well, but when I try to validate using the
> W3C service, I am told that the DTD cannot be fetched
> ("Object not found").  I can fetch the DTD for myself,
> and LYNX -head http://www.rhul.ac.uk/shared/dtds/Augmented.dtd
> reports :
> 
> 	HTTP/1.1 200 OK
> 	Server: Microsoft-IIS/4.0
> 	Date: Wed, 06 Sep 2000 12:03:35 GMT
> 	Content-Type: text/plain
> 	Accept-Ranges: bytes
> 	Last-Modified: Wed, 06 Sep 2000 12:01:01 GMT
> 	ETag: "c0443f20fa17c01:2283"
> 	Content-Length: 46663

That's probably because the validator is sending HTTP/1.0 request
to get the DTD, while the Web server doesn't accept HTTP/1.0 request.
Here's the log:

$ telnet www.rhul.ac.uk 80
Trying 134.219.200.69...
Connected to nts15.rhul.ac.uk.
Escape character is '^]'.
HEAD /shared/dtds/Augmented.dtd HTTP/1.0

HTTP/1.1 404 Object Not Found
Server: Microsoft-IIS/4.0
Date: Wed, 06 Sep 2000 12:40:46 GMT
Content-Length: 461
Content-Type: text/html

Connection closed by foreign host.

$ telnet www.rhul.ac.uk 80
Trying 134.219.200.69...
Connected to nts15.rhul.ac.uk.
Escape character is '^]'.
HEAD /shared/dtds/Augmented.dtd HTTP/1.1
Host: www.rhul.ac.uk
Connection: close

HTTP/1.1 200 OK
Server: Microsoft-IIS/4.0
Connection: close
Date: Wed, 06 Sep 2000 12:48:10 GMT
Content-Type: text/plain
Accept-Ranges: bytes
Last-Modified: Wed, 06 Sep 2000 12:01:01 GMT
ETag: "c0443f20fa17c01:2283"
Content-Length: 46663

Connection closed by foreign host.
$

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

Received on Wednesday, 6 September 2000 08:57:50 UTC