Software:Libxml2
| Original author(s) | The GNOME Project |
|---|---|
| Initial release | September 23, 1999 |
| Stable release | 2.9.11 (May 13, 2021[1]) [±] |
| Written in | C |
| Operating system | cross-platform[2][3] |
| Type | XML parser, XML validator |
| License | MIT 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]
While the maintainer is an unpaid volunteer, the library is used in commercial software. The maintainer has declared that he will treat security problem reports as normal bugs, fixed when there is time. They hope thus to force commercial users to contribute work or money for maintenance.[10]
On 15 September, the sole maintainer, Nick Wellnhofer, announced that he was stepping down.[11][12] Regressions in the latest 2.15 release will be fixed through to the end of 2025.
See also
- libxslt (the LibXML2's XSLT module)
- XML validation
- Comparison of HTML parsers
- Expat (library)
- Saxon XSLT
- Xerces
- GNOME Project
References
- ↑ Veillard, Daniel (3 May 2021). "[xml] Release of libxml2 2.9.11". xml@gnome.org (Mailing list). Retrieved 8 June 2021.
- ↑ "Introduction". 28 November 2017. http://xmlsoft.org/intro.html.
- ↑ 3.0 3.1 "GNOME / libxml2 / Wiki / Home". https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home.
- ↑ "ch libxml2 open source binding". https://chlibxml2.sourceforge.net/.
- ↑ "cl-libxml2 High-level wrapper around libxml2 and libxslt libraries". https://code.google.com/archive/p/cl-libxml2/.
- ↑ "libxml". http://php.net/manual/en/book.libxml.php.
- ↑ "Python bindings". https://gitlab.gnome.org/GNOME/libxml2/-/wikis/Python-bindings.
- ↑ "The XML C parser and toolkit of Gnome". http://www.xmlsoft.org/xml.html.
- ↑ Veillard, Daniel. "HTMLparser: interface for an HTML 4.0 non-verifying parser". GNOME. https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-HTMLparser.html.
- ↑ Brockmeier, Joe (25 June 2025). "Libxml2's 'no security embargoes' policy" (in en). LWN.net. https://lwn.net/Articles/1025971/.
- ↑ "Stepping down as libxml2 maintainer". https://discourse.gnome.org/t/stepping-down-as-libxml2-maintainer/31398.
- ↑ jzb (17 September 2025). "Libxml2 2.15.0 released". https://lwn.net/Articles/1038478/.
External links
- No URL found. Please specify a URL here or add one to Wikidata.
- "XML::LibXML". https://metacpan.org/dist/XML-LibXML/view/LibXML.pod. (Perl module)

