Re: [xml] Release candidate 1 of libxml2 2.8.0

On Wed, May 16, 2012 at 05:06:17PM +0200, Michael Ludwig wrote:
Michael Ludwig schrieb am 16.05.2012 um 16:35 (+0200):
Daniel Veillard schrieb am 16.05.2012 um 17:04 (+0800):
On Wed, May 16, 2012 at 12:16:43AM +0200, Michael Ludwig wrote:


This tests gets firewalled by the W3.ORG servers, I checked using
netstat. So I interrupted it. The source file testapi.c is huge.
Is there an easy way to instruct the program not to go the W3.ORG
servers like with xmllint --nonet?

  Hum, that's weird, the only thing I can think of is doing vaidity
testing of XHTML which may load the DTDs, I have a local cache
because the XHTML1 DTDs are loaded in the XML catalog on my
machines. I'm surprizer because I sometimes run "make check" on
machines without any IP connection.

Going to check later whether I can get the catalogue to work.

Much easier than expected!

$ export XML_CATALOG_FILES=/usr/local/src/libxml2/katalog.xml

<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">

  <system systemId="";

  <system systemId="";

  <system systemId="";


$ ./testapi.exe 
Testing HTMLparser : 32 of 38 functions ...
Testing HTMLtree : 18 of 18 functions ...
Testing SAX2 : 38 of 38 functions ...
Testing parser : 61 of 70 functions ... [the one causing the hanging]
Testing xpathInternals : 106 of 117 functions ...
Testing xpointer : 17 of 21 functions ...
Total: 1162 functions, 291376 tests, 0 errors

  Excellent, thanks ! :-)


Daniel Veillard      | libxml Gnome XML XSLT toolkit
daniel veillard com  | Rpmfind RPM search engine | virtualization library

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]