Software:Libxml2

From HandWiki
libxml2
Original author(s)The GNOME Project
Initial releaseSeptember 23, 1999; 26 years ago (1999-09-23)
Stable release2.9.11 (May 13, 2021; 4 years ago (2021-05-13)[1]) [±]
Written inC
Operating systemcross-platform[2][3]
TypeXML parser, XML validator
LicenseMIT License

libxml2 is a software library for parsing XML documents. It is also the basis for the libxslt library which processes XSLT-1.0 stylesheets.

Description

Written in the C programming language, libxml2 provides bindings to C++, Ch,[4] XSH, C#, Python, Swift, Kylix/Delphi and other Pascals, Ruby, Perl, Common Lisp,[5] and PHP.[6] It was originally developed for the GNOME project, but can be used outside it. libxml2's code is highly portable[7] since it only depends on standard ANSI C libraries[8] and it is available under the MIT license.[3]

It includes the command-line utility xmllint and an HTML parser.[9]

As of June 2025, libxml2 was being maintained by a single person, Nick Wellnhofer. [10]

While the maintainer is an unpaid volunteer, the library is used in commercial software. In June 2025, Wellnhofer declared that he will treat security problem reports as normal bugs, fixed when there is time. In taking this stance, Wellnhofer hoped to encourage commercial users of the library to contribute work or money for maintenance.[11]

On 15 September 2025, Wellnhofer announced that he was stepping down as maintainer.[12][13]

See also

References

  1. Veillard, Daniel (3 May 2021). "[xml] Release of libxml2 2.9.11". xml@gnome.org (Mailing list). Retrieved 8 June 2021.
  2. "Introduction". 28 November 2017. http://xmlsoft.org/intro.html. 
  3. 3.0 3.1 "GNOME / libxml2 / Wiki / Home". https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home. 
  4. "ch libxml2 open source binding". https://chlibxml2.sourceforge.net/. 
  5. "cl-libxml2 High-level wrapper around libxml2 and libxslt libraries". https://code.google.com/archive/p/cl-libxml2/. 
  6. "libxml". http://php.net/manual/en/book.libxml.php. 
  7. "Python bindings". https://gitlab.gnome.org/GNOME/libxml2/-/wikis/Python-bindings. 
  8. "The XML C parser and toolkit of Gnome". http://www.xmlsoft.org/xml.html. 
  9. Veillard, Daniel. "HTMLparser: interface for an HTML 4.0 non-verifying parser". GNOME. https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-HTMLparser.html. 
  10. "NWellnhofer". https://discourse.gnome.org/u/nwellnhof/summary. 
  11. Brockmeier, Joe (25 June 2025). "Libxml2's 'no security embargoes' policy" (in en). LWN.net. https://lwn.net/Articles/1025971/. 
  12. "Stepping down as libxml2 maintainer". https://discourse.gnome.org/t/stepping-down-as-libxml2-maintainer/31398. 
  13. jzb (17 September 2025). "Libxml2 2.15.0 released". https://lwn.net/Articles/1038478/.