XML C parser and toolkit (libXML2)

Release date: 
Monday, 26 August, 2002



XML is a metalanguage to design markup languages, i.e. text language where semantic and structure are added to the content using extra "markup" information enclosed between angle brackets. HTML is the most well-known markup language. This package provides the C library containing the API to manage XML data.

This software is distributed in two modes:
  • as compressed package that you have to download and manually install; if prerequisites are required, you will have to manually install them too;
  • as RPM package; you can install it using your favorite rpm package manager, that will take care to download and install both the software and its prerequisites.
Choose the installation mode that you prefer. Please note that not all the versions are available in both the installation modes.

Installation with rpm

This program is installable using the rpm package manager. See below for the install string. Required prerequisites are automatically processed by the package manager and, if needed, downloaded and installed.

libxml2-static-2.9.10-3.oc00 (18/01/2022)
Repository: Netlabs stable
libxml2-2.9.10-3.oc00 (18/01/2022)
Repository: Netlabs stable
NEWS file for libxml2 Note that this is automatically generated from the news webpage at: http://xmlsoft.org/news.html The change log at ChangeLog.html describes the recents commits to the GIT at https://gitlab.gnome.org/GNOME/libxml2 code base.Here is the list of public releases: v2.9.9: Jan 03 2019: - Security: CVE-2018-9251 CVE-2018-14567 Fix infinite loop in LZMA decompression (Nick Wellnhofer), CVE-2018-14404 Fix nullptr deref with XPath logic ops (Nick Wellnhofer), - Documentation: reader: Fix documentation comment (Mohammed Sadiq) - Portability: Fix MSVC build with lzma (Nick Wellnhofer), Variables need 'extern' in static lib on Cygwin (Michael Haubenwallner), Really declare dllexport/dllimport for Cygwin (Michael Haubenwallner), Merge branch 'patch-2' into 'master' (Nick Wellnhofer), Change dir to $THEDIR after ACLOCAL_PATH check autoreconf creates aclocal.m4 in $srcdir (Vitaly Buka), Improve error message if pkg.m4 couldn't be found (Nick Wellnhofer), NaN and Inf fixes for pre-C99 compilers (Nick Wellnhofer) - Bug Fixes: Revert "Support xmlTextReaderNextSibling w/o preparsed doc" (Nick Wellnhofer), Fix building relative URIs (Thomas Holder), Problem with data in interleave in RelaxNG validation (Nikolai Weibull), Fix memory leak in xmlSwitchInputEncodingInt error path (Nick Wellnhofer), Set doc on element obtained from freeElems (Nick Wellnhofer), Fix HTML serialization with UTF-8 encoding (Nick Wellnhofer), Use actual doc in xmlTextReaderRead*Xml (Nick Wellnhofer), Unlink node before freeing it in xmlSAX2StartElement (Nick Wellnhofer), Check return value of nodePush in xmlSAX2StartElement (Nick Wellnhofer), Free input buffer in xmlHaltParser (Nick Wellnhofer), Reset HTML parser input pointers on encoding failure (Nick Wellnhofer), Don't run icu_parse_test if EUC-JP is unsupported (Nick Wellnhofer), Fix xmlSchemaValidCtxtPtr reuse memory leak (Greg Hildstrom), Fix xmlTextReaderNext with preparsed document (Felix Bünemann), Remove stray character from comment (Nick Wellnhofer), Remove a misleading line from xmlCharEncOutput (Andrey Bienkowski), HTML noscript should not close p (Daniel Veillard), Don't change context node in xmlXPathRoot (Nick Wellnhofer), Stop using XPATH_OP_RESET (Nick Wellnhofer), Revert "Change calls to xmlCharEncInput to set flush false" (Nick Wellnhofer) - Improvements: Fix "Problem with data in interleave in RelaxNG validation" (Nikolai Weibull), cleanup: remove some unreachable code (Thomas Holder), add --relative to testURI (Thomas Holder), Remove redefined starts and defines inside include elements (Nikolai Weibull), Allow choice within choice in nameClass in RELAX NG (Nikolai Weibull), Look inside divs for starts and defines inside include (Nikolai Weibull), Add compile and libxml2-config.cmake to .gitignore (Nikolai Weibull), Stop using doc->charset outside parser code (Nick Wellnhofer), Add newlines to 'xmllint --xpath' output (Nick Wellnhofer), Don't include SAX.h from globals.h (Nick Wellnhofer), Support xmlTextReaderNextSibling w/o preparsed doc (Felix Bünemann), Don't instruct user to run make when autogen.sh failed (林博仁(Buo-ren Lin)), Run Travis ASan tests with "sudo: required" (Nick Wellnhofer), Improve restoring of context size and position (Nick Wellnhofer), Simplify and harden nodeset filtering (Nick Wellnhofer), Avoid unnecessary backups of the context node (Nick Wellnhofer), Fix inconsistency in xmlXPathIsInf (Nick Wellnhofer) - Cleanups:
libxml2-debuginfo-2.9.10-3.oc00 (18/01/2022)
Repository: Netlabs stable
libxml2-devel-2.9.10-3.oc00 (18/01/2022)
Repository: Netlabs stable (note: development files, not needed by the end user)

Manual installation

Program is distributed as ZIP package: download to temporary directory and unpack to destination folder. See below for download link(s).

You can install the prerequisites with rpm running the following string in a command line:

yum install libc libcx libgcc1 libssp libstdc++6 libstdc++ libsupc++6 libsupc++ libgcc-fwd emxrt zlib pthread

Online documentation:

Following ones are the download links for manual installation:

XML C parser and toolkit (libXML2) v. 2.11.5 (2/1/2024, KO Myung-Hun)
XML C parser and toolkit (libXML2) v. 2.7.8 (4/11/2010, KO Myung-Hun) Readme/What's new
2.7.8: Nov 4 2010 * - Features: 480323 add code to plug in ICU converters by default (Giuseppe Iuculano), Add xmlSaveOption XML_SAVE_WSNONSIG (Adam Spragg) * - Documentation: Fix devhelp documentation installation (Mike Hommey), Fix web site encoding problems (Daniel Veillard), Fix a couple of typo in HTML parser error messages (Michael Day), Forgot to update the news page for 0.7.7 (Daniel Veillard) * - Portability: 607273 Fix python detection on MSys/Windows (LRN), 614087 Fix Socket API usage to allow Windows64 compilation (Ozkan Sezer), Fix compilation with Clang (Koop Mast), Fix Win32 build (Rob Richards) * - Bug Fixes: 595789 fix a remaining potential Solaris problem (Daniel Veillard), 617468 fix progressive HTML parsing with style using "'" (Denis Pauk), 616478 Fix xmllint shell write command (Gwenn Kahz), 614005 Possible erroneous HTML parsing on unterminated script (Pierre Belzile), 627987 Fix XSD IDC errors in imported schemas (Jim Panetta), 629325 XPath rounding errors first cleanup (Phil Shafer), 630140 fix iso995x encoding error (Daniel Veillard), make sure htmlCtxtReset do reset the disableSAX field (Daniel Veillard), Fix a change of semantic on XPath preceding and following axis (Daniel Veillard), Fix a potential segfault due to weak symbols on pthreads (Mike Hommey), Fix a leak in XPath compilation (Daniel Veillard), Fix the semantic of XPath axis for namespace/attribute context nodes (Daniel Veillard), Avoid a descriptor leak in catalog loading code (Carlo Bramini), Fix a small bug in XPath evaluation code (Marius Wachtler), Fix handling of XML-1.0 XML namespace declaration (Daniel Veillard), Fix errors in XSD double validation check (Csaba Raduly), Fix handling of apos in URIs (Daniel Veillard), xmlTextReaderReadOuterXml should handle DTD (Rob Richards), Autogen.sh needs to create m4 directory (Rob Richards) * - Improvements: 606592 update language ID parser to RFC 5646 (Daniel Veillard), Sort python generated stubs (Mike Hommey), Add an HTML parser option to avoid a default doctype (Daniel Veillard) * - Cleanups: 618831 don't ship generated files in git (Adrian Bunk), Switch from the obsolete mkinstalldirs to AC_PROG_MKDIR_P (Adrian Bunk), Various cleanups on encoding handling (Daniel Veillard), Fix xmllint to use format=1 for default formatting (Adam Spragg), Force _xmlSaveCtxt.format to be 0 or 1 (Adam Spragg), Cleanup encoding pointer comparison (Nikolay Sivov), Small code cleanup on previous patch (Daniel Veillard)
XML C parser and toolkit (libXML2) v. 2.5.11 (13/11/2003, Ilya Zakharevich) Readme/What's new
OS/2 EMX -Zmtd build of xml2 library v2-2.5.11 and xslt library v1.0.33 for parsing of XML. Requires ICONV.DLL and Z.DLL. Some tests for XSLT fail, but these failures seem to be not related to OS/2 build (see problems_libxslt-1.0.33 for a log). --------------------------------------------------- INSTALL Procedure Extract to d:/emx directory or an equivalent: unzip xml2-2-5-11-xslt-1-0-33.zip -d d:/emx Then move the contents of libxml and libxslt directories one level up, as in mv libxml/* . mv libxslt/* . [or an equivalent]. One needs to edit the configuration files to correct /usr/local to the actual install directory. One possible way (requires sh and perl): edit install_dir= line in try-relocate.cmd (with the above example, it should be install_dir=d:/emx), then run the script. --------------------------------------------------- BUILD Procedure The Perl script convert_configure is available from ilyaz.org/software/os2. In the build directories apply the supplied diff-* files (as in gnupatch -p1 < diff_libxml2-2.5.11 ), then do convert_configure (sh configure && make && make tests) |& tee 00c1 os2\make-dll.cmd For XSLT: see diff_libxslt-1.0.33 for additional manual edits needed.
 hobbes.nmsu.edu/download/pub/os2/dev/xml2-2-5-11-xslt-1-0-33.zip  local copy
XML C parser and toolkit (libXML2) v. 2.4.23 (26/8/2002, Vincenzo Venuto) Readme/What's new
2.4.22: May 27 2002 * - a number of bug fixes: configure scripts, base handling, parser, memory usage, HTML parser, XPath, documentation (Christian Cornelssen), indentation, URI parsing * - Optimizations for XMLSec, fixing and making public some of the network protocol handlers (Aleksey) * - performance patch from Gary Pennington * - Charles Bozeman provided date and time support for XML Schemas datatypes
 hobbes.nmsu.edu/download/pub/os2/dev/libxml2_2_4_23_os2.zip  local copy
Record updated last time on: 30/01/2024 - 20:35

Translate to...

Add new comment