On 2017-08-05 07:41:30 +0200, Ferran Jorba wrote: > Hmmm, too bad. I have this file, but it also can be found as part of Fedora > and FreeBSD repositories: > > https://www.google.cat/search?q=xml2-0.5.tar.gz > > Please upgrade it. It is such a useful tool, and I know no alternative! I > keep it using, and the newer version fixes those Debian bugs.
If someone upgrades it, make sure that its SHA256 is e3203a5d3e5d4c634374e229acdbbe03fea41e8ccdef6a594a3ea50a50d29705. Information from: https://github.com/Homebrew/homebrew-core/blob/master/Formula/xml2.rb http://www.freshports.org/textproc/xml2/ FYI, the main changes in the code are: * a bug fixed in 2csv, avoiding a strdup on a null pointer; * updated #include paths for libxml2; * some autotools related changes; * the fix concerning the corruption with UTF-8 (in xml2.c): @@ -247,8 +247,7 @@ init(&sax); if (1 == argc && !strcmp(name,"html2")) { - ctxt = htmlCreatePushParserCtxt(&sax,NULL,NULL,0,"stdin", - XML_CHAR_ENCODING_8859_1); + ctxt = htmlCreatePushParserCtxt(&sax,NULL,NULL,0,"stdin",0); parseChunk = htmlParseChunk; freeCtxt = htmlFreeParserCtxt; do_compress_whitespace = 1; -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)