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

Michael Wild themiwi at gmail.com
Tue Nov 2 04:16:54 EDT 2010


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

On 11/01/2010 11:38 PM, David Cole wrote:
> Starting last Friday, apparently unrelated to any CMake source code
> changes, the CMake.HTML test started failing on several platforms:
> 
> http://www.cdash.org/CDash/queryTests.php?project=CMake&date=2010-11-01&filtercount=1&showfilters=1&field1=testname/string&compare1=63&value1=HTML
> 
> It appears to be a "403/forbidden" error from the xmllint output.
> 
> It seems that all of the failing platforms have older xmllint
> installs, and do not support the "--nonet" command line arg.
> 
> Does anybody know what might have changed to cause this? (Some setting
> on the w3.org web server?)
> 
> You can see the CMakeLists code that adds the test at
> CMake/Utilities/CMakeLists.txt, starting around line 140.
> 
> I am at a loss and I'm not sure what we should do about it. It is nice
> to think that the HTML documentation that we generate is checked and
> validated against the schemas available from w3.org... But to be
> really useful, we need the test to be reliable. As it stands, I'm
> leaning towards disabling the test on xmllint installs that do not
> support "--nonet".
> 
> Any HTML / xmllint experts out there that can chime in and point out
> what's wrong so we can get it fixed?
> 
> 
> Thanks,
> David Cole

Looks like w3c has had enough of the excessive traffic (although the
post is back from 2008):

http://www.w3.org/blog/systeam/2008/02/08/w3c_s_excessive_dtd_traffic

A solution might be to ship your own copy of the DTD and the entity
files (xhtml1-strict.dtd, xhtml-lat1.ent, xhtml-special.ent and
xhtml-symbol.ent), just for the purpose of testing. You could then set
XML_CATALOG_FILES to some xml-catalog containing something like this:

<?xml version='1.0'?>
<!DOCTYPE catalog PUBLIC "-//GlobalTransCorp//DTD XML Catalogs
V1.0-Based Extension V1.0//EN"
    "http://globaltranscorp.org/oasis/catalog/xml/tr9401.dtd">

<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
         xmlns:soc="urn:oasis:names:tc:entity:xmlns:tr9401:catalog"
         xmlns:unk="urn:oasis:names:tc:entity:xmlns:unknown"
         >
<group prefer="public">
<public publicId="-//W3C//DTD XHTML 1.0 Strict//EN"
  uri="xhtml1-strict.dtd"/>
</group>
</catalog>

I just tried it and it seems to work on my machine.

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

iEYEARECAAYFAkzPyPYACgkQyAe0BK8NufPCmQCfT3vESnKz7hmLbAnUVSckHSdT
3GgAnjfdVFrvOVtrlDpYXRxJ3XYL0/RC
=Mhqg
-----END PGP SIGNATURE-----



More information about the cmake-developers mailing list