No description
  • C 80.6%
  • RPGLE 8.3%
  • HTML 4.9%
  • Python 3.2%
  • Makefile 0.7%
  • Other 2%
Find a file
Kevin F. Haggerty be61fdb3f1 Android Security 13.0.0 Release 10 (10763433)
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZRr5XgAKCRDorT+BmrEO
 eObeAJ9h4q0A0CoFAmOZRc7TSPYWxFQ7wgCeKZ80dIeQIQyRFHlw8Lkzx1+Mlrg=
 =dgip
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEA2skEMxbPHNb/U7LbZVRKTMRJykFAmUbeO0ACgkQbZVRKTMR
 Jyn5+g//RqW5ifqsa58PNtVvyeDBd9dwzMyTMb2uPA88KE7QHbBqdLGZF3cW1Wkw
 IqdaDJRx6w5qlmVJrBgduhMXGZffRs44nj6hTFXHHBHZLDu4iuL/kZqrggRNpd3s
 uqmz0KjxWrMporabh6UM+JtHMwnIb6zloXoy8zijZR90kZCJa+V15asNFr8EjWh9
 cCEw6KiQFB54BHt0cWJmT07+WpIFPN9k8jkGirOydDLV8U7ZEqcB4/ncAGal/Q0i
 5HK0O+Wdgi1TuLzGy+D4HytE9K3gD7gxfGRe+JaDOqZYHKBylMaEP12fzixk5CF2
 4k4er2YzUSe6qOIWz4RuUGMVJ2DryEZC8tv2bvjkH9OZtgc4l2kpvNHYxWVjnFkF
 oj90NLUVSKlsnUSNuqNgkpfYKx3u4Vjmm9zchQkDTA8HSdTwyRWDRSS+OKq20fvd
 9+mVREeze0RhBnYG3f3o1cg23nXdJ1NJhVleQFfeRFt2PzCEKR8RnQMJ7sKOdRbn
 O1X56QmhvqjoiBwX/iiDeZRftNI3n6ttr+l6y8CjtpslquLHMCSW/NWVQGyoy8p8
 JLc8uABAWb4/nbe/RZgBQhUPDOKD2p7ZeLiDzeZ440eQO9HAkiI1YKgi27ZY/d7e
 qCE3Rn3+SATSZ8GwfHDlDMxtoJwUNZa+2wE5vTfaI8tXRmq7uyA=
 =LE3u
 -----END PGP SIGNATURE-----

Merge tag 'android-security-13.0.0_r10' of https://android.googlesource.com/platform/external/libxml2 into staging/lineage-20.0_merge_android-security-13.0.0_r10

Android Security 13.0.0 Release 10 (10763433)

* tag 'android-security-13.0.0_r10' of https://android.googlesource.com/platform/external/libxml2:
  malloc-fail: Fix OOB read after xmlRegGetCounter

Change-Id: I6db75c88c4c464c5936132a9ae141b8cbbd5a838
2023-10-02 20:14:04 -06:00
bakefile Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
doc Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
example Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
fuzz Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
include Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
macos Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
optim Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
os400 Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
python Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
result Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
test Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
vms Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
VxWorks apply a couple of fixes based on a Coverity report forwarded by Derrick 2008-06-10 14:56:11 +00:00
win32 Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
xstc Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
.gitattributes Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
.gitignore Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
.gitlab-ci.yml Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
acinclude.m4 More updates and cleanups on autotools and Makefiles 2012-08-17 10:04:30 +08:00
Android.bp Merge "Refactor genrules to explicitly list inputs" am: 63686df8cf am: 9ee29ca3ec am: 23a1a39530 am: f403f96c3a 2022-02-01 23:42:42 +00:00
autogen.sh Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
buf.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
buf.h Update to libxml2 2.9.4 by merging commit 'd8083bf7' into klp-dev. 2017-03-03 15:45:11 -08:00
build_glob.py
c14n.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
catalog.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
check-relaxng-test-suite.py patches from John Carr to start cleaning up 'make diskcheck' problems c.f. 2008-01-11 07:19:24 +00:00
check-relaxng-test-suite2.py patches from John Carr to start cleaning up 'make diskcheck' problems c.f. 2008-01-11 07:19:24 +00:00
check-xinclude-test-suite.py Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
check-xml-test-suite.py Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
check-xsddata-test-suite.py patches from John Carr to start cleaning up 'make diskcheck' problems c.f. 2008-01-11 07:19:24 +00:00
chvalid.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
chvalid.def Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
CleanSpec.mk Remove hardcoded ICU include paths. 2014-12-31 09:58:35 +00:00
CMakeLists.txt Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
config.h RESTRICT AUTOMERGE: Update libxml2 to 2.9.8 2018-06-01 21:03:51 +00:00
config.h.cmake.in Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
configure.ac Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
Copyright Clean out external/libxml2 for upstream sync. 2014-10-30 10:18:22 -07:00
dbgen.pl
dbgenattr.pl
debugXML.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
dict.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
DOCBparser.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
enc.h Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
encoding.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
entities.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
error.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
genChRanges.py Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
gentest.py Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
genUnicode.py Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
global.data Fix SetGenericErrorFunc and SetStructured clash 2009-08-24 17:34:25 +02:00
globals.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
hash.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
HTMLparser.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
HTMLtree.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
legacy.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
libxml-2.0-uninstalled.pc.in build: Add @LZMA_LIBS@ to libxml’s pkg-config files 2013-10-29 17:35:36 +08:00
libxml-2.0.pc.in build: Add @LZMA_LIBS@ to libxml’s pkg-config files 2013-10-29 17:35:36 +08:00
libxml.3 libxml(3) manpage typo fix 2012-08-17 11:59:01 +08:00
libxml.h Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
libxml.m4 Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
libxml.spec.in Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
libxml2-config.cmake.cmake.in Upgrade libxml2 to acb3566739b019ef020c575b891c39121a2420fe 2021-02-05 01:38:09 -08:00
libxml2-config.cmake.in Upgrade libxml2 to acb3566739b019ef020c575b891c39121a2420fe 2021-02-05 01:38:09 -08:00
libxml2.doap Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
libxml2.syms Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
list.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
Makefile.am Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
Makefile.tests Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
METADATA Add license_note 2022-03-07 14:13:00 -08:00
MODULE_LICENSE_MIT auto import from //depot/cupcake/@135843 2009-03-03 19:30:06 -08:00
nanoftp.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
nanohttp.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
NEWS Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
NOTICE Clean out external/libxml2 for upstream sync. 2014-10-30 10:18:22 -07:00
OWNERS Switch to system/core/janitors as OWNERS. 2019-01-17 13:18:45 -08:00
parser.c parser: Fix OOB read when formatting error message 2023-03-22 20:05:58 +00:00
parserInternals.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
pattern.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
post_update.sh Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
README.md Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
README.tests Update README.tests 2012-05-07 15:23:25 +08:00
README.zOS Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
regressions.py
regressions.xml
relaxng.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
rngparser.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
runsuite.c Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
runtest.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
runxmlconf.c Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
save.h Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
SAX.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
SAX2.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
schematron.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
testapi.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
testAutomata.c Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
testC14N.c Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
testchar.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
testdict.c Remove various unused value assignments 2014-10-27 21:18:57 +08:00
testdso.c warning patches from Peter Breitenlohner serious DTD parsing speedups, 2005-01-25 00:22:52 +00:00
testHTML.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
testlimits.c Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
testModule.c RESTRICT AUTOMERGE: Update libxml2 to 2.9.8 2018-06-01 21:03:51 +00:00
testOOM.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
testOOMlib.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
testOOMlib.h
testReader.c Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
testrecurse.c Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
testRegexp.c Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
testRelax.c Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
testSAX.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
testSchemas.c Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
testThreads.c Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
testURI.c Update to libxml2 2.9.9 (2019-01-03). 2019-01-11 12:57:49 -08:00
testXPath.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
threads.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
timsort.h Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
TODO Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
TODO_SCHEMAS
tree.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
trio.c Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
trio.h Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
triodef.h Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
trionan.c Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
trionan.h Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
triop.h Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
triostr.c Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
triostr.h Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
uri.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
valid.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
xinclude.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
xlink.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
xml2-config.1 Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
xml2-config.in Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
xml2Conf.sh.in Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00
xmlcatalog.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
xmlIO.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
xmllint.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
xmlmemory.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
xmlmodule.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
xmlreader.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
xmlregexp.c malloc-fail: Fix OOB read after xmlRegGetCounter 2023-08-10 17:09:57 +00:00
xmlsave.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
xmlschemas.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
xmlschemastypes.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
xmlstring.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
xmlunicode.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
xmlwriter.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
xpath.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
xpointer.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
xzlib.c Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1 2022-02-23 15:19:49 -08:00
xzlib.h Upgrade libxml2 to 1a360c1c2ec950f478d55b31722ecf78f5698e97 2020-07-31 00:02:25 -07:00

libxml2

libxml2 is an XML toolkit implemented in C, originally developed for the GNOME Project.

Full documentation is available at https://gitlab.gnome.org/GNOME/libxml2/-/wikis.

Bugs should be reported at https://gitlab.gnome.org/GNOME/libxml2/-/issues.

A mailing list xml@gnome.org is available. You can subscribe at https://mail.gnome.org/mailman/listinfo/xml. The list archive is at https://mail.gnome.org/archives/xml/.

License

This code is released under the MIT License, see the Copyright file.

Build instructions

libxml2 can be built with GNU Autotools, CMake, or several other build systems in platform-specific subdirectories.

Autotools (for POSIX systems like Linux, BSD, macOS)

If you build from a Git tree, you have to install Autotools and start by generating the configuration files with:

./autogen.sh

If you build from a source tarball, extract the archive with:

tar xf libxml2-xxx.tar.gz
cd libxml2-xxx

To see a list of build options:

./configure --help

Also see the INSTALL file for additional instructions. Then you can configure and build the library:

./configure [possible options]
make

Note that by default, no optimization options are used. You have to enable them manually, for example with:

CFLAGS='-O2 -fno-semantic-interposition' ./configure

Now you can run the test suite with:

make check

Please report test failures to the mailing list or bug tracker.

Then you can install the library:

make install

At that point you may have to rerun ldconfig or a similar utility to update your list of installed shared libs.

CMake (mainly for Windows)

Another option for compiling libxml is using CMake:

cmake -E tar xf libxml2-xxx.tar.gz
cmake -S libxml2-xxx -B libxml2-xxx-build [possible options]
cmake --build libxml2-xxx-build
cmake --install libxml2-xxx-build

Common CMake options include:

-D BUILD_SHARED_LIBS=OFF            # build static libraries
-D CMAKE_BUILD_TYPE=Release         # specify build type
-D CMAKE_INSTALL_PREFIX=/usr/local  # specify the install path
-D LIBXML2_WITH_ICONV=OFF           # disable iconv
-D LIBXML2_WITH_LZMA=OFF            # disable liblzma
-D LIBXML2_WITH_PYTHON=OFF          # disable Python
-D LIBXML2_WITH_ZLIB=OFF            # disable libz

You can also open the libxml source directory with its CMakeLists.txt directly in various IDEs such as CLion, QtCreator, or Visual Studio.

Dependencies

Libxml does not require any other libraries. A platform with somewhat recent POSIX support should be sufficient (please report any violation to this rule you may find).

However, if found at configuration time, libxml will detect and use the following libraries:

  • libz, a highly portable and widely available compression library.
  • liblzma, another compression library.
  • libiconv, a character encoding conversion library. The iconv function is part of POSIX.1-2001, so libiconv isn't required on modern UNIX-like systems like Linux, BSD or macOS.
  • ICU, a Unicode library. Mainly useful as an alternative to iconv on Windows. Unnecessary on most other systems.

Contributing

The current version of the code can be found in GNOME's GitLab at at https://gitlab.gnome.org/GNOME/libxml2. The best way to get involved is by creating issues and merge requests on GitLab. Alternatively, you can start discussions and send patches to the mailing list. If you want to work with patches, please format them with git-format-patch and use plain text attachments.

All code must conform to C89 and pass the GitLab CI tests. Add regression tests if possible.

Authors

  • Daniel Veillard
  • Bjorn Reese
  • William Brack
  • Igor Zlatkovic for the Windows port
  • Aleksey Sanin
  • Nick Wellnhofer