[cmake-developers] Failing HTML (xmllint) test in the CMake dashboard results...

Michael Wild themiwi at gmail.com
Tue Nov 2 12:02:33 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/02/2010 04:05 PM, Bill Hoffman wrote:
> On 11/2/2010 10:11 AM, Michael Wild wrote:
> 
>> Seems like W3C is now requiring the User-Agent header, otherwise you get
>> a 403 response. Using wireshark I found that xmllint doesn't send a
>> User-Agent identification, and gets rejected. If I use wget and tell it
>> to suppress the User-Agent header I also get the same result:
>>
>> $ wget --user-agent="" http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
>> - --2010-11-02 15:06:52-- 
>> http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
>> Resolving www.w3.org... 128.30.52.37
>> Connecting to www.w3.org|128.30.52.37|:80... connected.
>> HTTP request sent, awaiting response... 403 Forbidden
>> 2010-11-02 15:06:53 ERROR 403: Forbidden.
>>
>> The same works fine when using the default options.
>>
> 
> That explains it!
> 
> Thanks.
> 
> Looks like we should disable xmllint for older versions of xmllint.
> 
> 
> -Bill

But then, if you use --nonet, you require that the machine has the DTD
installed locally and that it can be resolved by the default catalog,
otherwise the validation will fail too. But this is probably just
something the person setting up the dashboard has to remember...

Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzQNhkACgkQyAe0BK8NufNyrQCfW7gt33j/u9yXuhPFXOuHxPlG
YOsAnjNRFwo2OXsgCkwW+pFbqW6o2wqg
=CRSH
-----END PGP SIGNATURE-----



More information about the cmake-developers mailing list