I just merged this commit into 'next' : http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bb1df1ec8ea880c9859845b85828b8b724abb1ba
It will definitively highlight for us all the submitting dashboard machines that are *not* using the "--nonet" argument to xmllint. Then, after tomorrow's run, we can decide what we want to do about it. Either replace it with a test that does the equivalent, but without network access, or eliminate those machines (leave the test empty in the "else()" block) and just be happy with the test running on the machines that do have "--nonet" access. Michael, we do have a local copy of the dtd anyhow in CMake/Utilities/xml -- but I'm not convinced we're calling xmllint correctly even in the --nonet case, as I still see "failed network I/O" types of error messages from xmllint when I run it by hand. I think we may either need a catalog as you suggest, or at least a "--dtdvalid" arg to xmllint in addition to what we're doing now. Do you have a suggestion one way or the other about the optimal resolution here? Thanks for your help with this, David On Tue, Nov 2, 2010 at 12:02 PM, Michael Wild <them...@gmail.com> wrote: > -----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----- > _______________________________________________ > cmake-developers mailing list > cmake-developers@cmake.org > http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers > _______________________________________________ cmake-developers mailing list cmake-developers@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers