libxml2
| libxml2 | |
|---|---|
| Original author | The GNOME Project |
| Initial release | September 23, 1999; 26 years ago (1999年09月23日) |
| Stable release | |
| Repository | |
| Written in | C |
| Operating system | cross-platform [2] [3] |
| Type | XML parser, XML validator |
| License | MIT License |
| Website | xmlsoft |
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
[edit ]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] Regressions in the latest 2.15 release will be fixed through to the end of 2025.
See also
[edit ]- libxslt (the LibXML2's XSLT module)
- XML validation
- Comparison of HTML parsers
- Expat (library)
- Saxon XSLT
- Xerces
- GNOME Project
References
[edit ]- ^ "libxml2 2.15.1" . Retrieved 18 October 2025.
- ^ "Introduction". 28 November 2017. Archived from the original on 6 April 2018. Retrieved 25 March 2018.
- ^ a b "GNOME / libxml2 / Wiki / Home". gitlab.gnome.org. Retrieved 18 September 2025.
- ^ "ch libxml2 open source binding". chlibxml2.sourceforge.net. Retrieved 18 September 2025.
- ^ "cl-libxml2 High-level wrapper around libxml2 and libxslt libraries". code.google.com. Archived from the original on 18 April 2014. Retrieved 18 April 2014.
- ^ "libxml". php.net. Archived from the original on 10 May 2016. Retrieved 16 May 2016.
- ^ "Python bindings". gitlab.gnome.org. Retrieved 18 September 2025.
- ^ "The XML C parser and toolkit of Gnome". xmlsoft.org. Archived from the original on 10 June 2016. Retrieved 16 May 2016.
- ^ Veillard, Daniel. "HTMLparser: interface for an HTML 4.0 non-verifying parser". libxml2 Reference Manual. GNOME. Archived from the original on 6 May 2023. Retrieved 6 May 2023.
- ^
"NWellnhofer". gnome.org. Retrieved 15 November 2025.
{{cite web}}: CS1 maint: url-status (link) - ^ Brockmeier, Joe (25 June 2025). "Libxml2's 'no security embargoes' policy". LWN.net. Archived from the original on 10 July 2025. Retrieved 16 July 2025.
- ^ "Stepping down as libxml2 maintainer". discourse.gnome.org. Archived from the original on 15 September 2025. Retrieved 16 September 2025.
- ^ jzb (17 September 2025). "Libxml2 2.15.0 released". lwn.net. Retrieved 18 September 2025.
External links
[edit ]- Official website Edit this at Wikidata
- "XML::LibXML". metacpan.org. Retrieved 18 September 2025. (Perl module)
This computer-library-related article is a stub. You can help Wikipedia by expanding it.
This markup language article is a stub. You can help Wikipedia by expanding it.