Hello,
I built libxml library version 2.6.16 on SunOS, HP-UX and AIX platforms.
But running “testapi” produces an error in “xmlRegisterCharEncodingHandler” and a coredump in different places on different platforms (AIX and HP coredump in same place, Sun in a different place).
Is this expected?
To compile I have copied the directory to all of the platforms, and ran “configure”, and then “make”, both with no options.
This is first time I am compiling libxml.
Below are the results of running the process:
On SunOS:
devsun3.agb:...> ./testapi
Testing HTMLparser : 31 of 37 functions ...
Testing HTMLtree : 17 of 17 functions ...
Testing SAX2 : 38 of 38 functions ...
Testing c14n : 3 of 4 functions ...
Testing catalog : 27 of 36 functions ...
Testing chvalid : 9 of 9 functions ...
Testing debugXML : 25 of 28 functions ...
Testing dict : 7 of 8 functions ...
Testing encoding : 16 of 19 functions ...
xmlRegisterCharEncodingHandler: NULL handler !
Testing entities : 12 of 16 functions ...
Testing hash : 16 of 23 functions ...
Testing list : 19 of 26 functions ...
Testing nanoftp : 15 of 22 functions ...
Testing nanohttp : 16 of 17 functions ...
Testing parser : 58 of 69 functions ...
Testing parserInternals : 33 of 90 functions ...
Segmentation Fault(coredump)
devsun3.agb:...>
On HPUX:
$ ./testapi
Testing HTMLparser : 31 of 37 functions ...
Testing HTMLtree : 17 of 17 functions ...
Testing SAX2 : 38 of 38 functions ...
Testing c14n : 3 of 4 functions ...
Testing catalog : 27 of 36 functions ...
Testing chvalid : 9 of 9 functions ...
Testing debugXML : 25 of 28 functions ...
Testing dict : 7 of 8 functions ...
Testing encoding : 16 of 19 functions ...
xmlRegisterCharEncodingHandler: NULL handler !
Testing entities : 12 of 16 functions ...
Testing hash : 16 of 23 functions ...
Testing list : 19 of 26 functions ...
Testing nanoftp : 15 of 22 functions ...
Testing nanohttp : 16 of 17 functions ...
Testing parser : 58 of 69 functions ...
Testing parserInternals : 33 of 90 functions ...
Testing pattern : 1 of 4 functions ...
Testing relaxng : 14 of 22 functions ...
Testing schemasInternals : 0 of 2 functions ...
Testing tree : 129 of 146 functions ...
Testing uri : 9 of 13 functions ...
Testing valid : 46 of 67 functions ...
Testing xinclude : 6 of 8 functions ...
Testing xmlIO : 38 of 47 functions ...
Testing xmlautomata : 3 of 18 functions ...
Testing xmlerror : 7 of 15 functions ...
Testing xmlreader : 68 of 78 functions ...
Testing xmlregexp : 5 of 9 functions ...
Testing xmlsave : 4 of 9 functions ...
Testing xmlschemas : 11 of 18 functions ...
Testing xmlschemastypes : 15 of 19 functions ...
Testing xmlstring : 26 of 30 functions ...
Testing xmlunicode : 166 of 166 functions ...
Testing xmlwriter : 51 of 79 functions ...
Testing xpath : 28 of 36 functions ...
Testing xpathInternals : 106 of 117 functions ...
Memory fault(coredump)
$
On AIX:
$ ./testapi
Testing HTMLparser : 31 of 37 functions ...
Testing HTMLtree : 17 of 17 functions ...
Testing SAX2 : 38 of 38 functions ...
Testing c14n : 3 of 4 functions ...
Testing catalog : 27 of 36 functions ...
Testing chvalid : 9 of 9 functions ...
Testing debugXML : 25 of 28 functions ...
Testing dict : 7 of 8 functions ...
Testing encoding : 16 of 19 functions ...
xmlRegisterCharEncodingHandler: NULL handler !
Testing entities : 12 of 16 functions ...
Testing hash : 16 of 23 functions ...
Testing list : 19 of 26 functions ...
Testing nanoftp : 15 of 22 functions ...
Testing nanohttp : 16 of 17 functions ...
Testing parser : 58 of 69 functions ...
Testing parserInternals : 33 of 90 functions ...
Testing pattern : 1 of 4 functions ...
Testing relaxng : 14 of 22 functions ...
Testing schemasInternals : 0 of 2 functions ...
Testing tree : 129 of 146 functions ...
Testing uri : 9 of 13 functions ...
Testing valid : 46 of 67 functions ...
Testing xinclude : 6 of 8 functions ...
Testing xmlIO : 38 of 47 functions ...
Testing xmlautomata : 3 of 18 functions ...
Testing xmlerror : 7 of 15 functions ...
Testing xmlreader : 68 of 78 functions ...
Testing xmlregexp : 5 of 9 functions ...
Testing xmlsave : 4 of 9 functions ...
Testing xmlschemas : 11 of 18 functions ...
Testing xmlschemastypes : 15 of 19 functions ...
Testing xmlstring : 26 of 30 functions ...
Testing xmlunicode : 166 of 166 functions ...
Testing xmlwriter : 51 of 79 functions ...
Testing xpath : 28 of 36 functions ...
Testing xpathInternals : 106 of 117 functions ...
Segmentation fault(coredump)
$
Please let me know what this all means … “testapi” wasn’t updated to work with latest version of libraries? Or I’m compiling wrong? Bug?
Thank you.
Alex