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

Missing host header bug

From: Ian Redfern <redferni@logica.com>
Date: Mon, 12 Jun 2000 18:48:53 +0100
Message-ID: <39452285.CB58C699@logica.com>
To: www-validator@w3.org
It seems that when the validator fetches an XML DTD via HTTP, it doesn't
send a Host: header. This is stopping me from validating WML, e.g. that
at http://wap.logica.com/ - I get the following:

Below are the results of attempting to parse this document with an SGML
parser.

     Line 3, column 42:

        "http://www.wapforum.org/DTD/wml_1.1.xml">
                                                 ^

     Error: could not get "/DTD/wml_1.1.xml" from "www.wapforum.org"
(reason given was "Host Header Required")

where the document in question begins

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
 "http://www.wapforum.org/DTD/wml_1.1.xml">

It seems that the www.wapforum.org server requires a Host: header on all
requests. Could someone modify the validator so it sends one?

Thanks,
Ian Redfern (redferni@logica.com)
Received on Monday, 12 June 2000 13:48:57 GMT

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