15 Commits
Author SHA1 Message Date
Shivam Mathur 4d0fbd43c0 ext/libxml: Export xmlCtxtSetOptions on Windows (#23178) 2026-08-09 12:01:31 +05:30
David Carlier bc7537dbf0 ext/libxml: Fix build failure with libxml2 2.15.
libxml2 2.15 removed the built-in HTTP client, the FTP module, the
functions in xmlunicode.h, the shell and several other legacy symbols.
The Windows export list php_libxml2.def still referenced them, so the
statically linked build failed with hundreds of unresolved external
symbols.

Keep php_libxml2_legacy.def as the original export list, unchanged, and
make php_libxml2.def the clean 2.15+ list, selecting one or the other
depending on the libxml2 version being built against.

Also adjust the ext/dom tests for the 2.15 URI change: drive letters are
no longer URI schemes on Windows, so relaxNGValidate() reports a
backslash path and xmlns="x:y" is no longer absolute.

Fix GH-22752
Close GH-22755
2026-08-08 20:34:23 +01:00
Niels Dossche b08def5156 Fix GH-14563: Build failure with libxml2 v2.13.0
Remove xmlErrMemory from the export section for Windows, this fixes the
build. Even though the original function was renamed [1] it is hidden,
so removing this should be sufficient and not be a BC break.

[1] https://github.com/GNOME/libxml2/commit/130436917c362d14f0eb3705a0edddc523a9640e

Closes GH-14719.
2024-06-29 16:28:16 +02:00
Christoph M. Becker ca011bbf56 Drop unsupported libxml2 2.10.0 symbols
The Docbook parser module has been removed completely.  Support for
XPointer locations (ranges and points) is disabled by default, and will
eventually be removed completely.  Given that the maintainer comments
on the latter: "Be warned that this part of the code base is buggy and
had many security issues in the past", it seems to be prudent to no
longer build with XPointer locations support right away.

To be able to build against libxml2 2.10.0, we remove the export
definitions for Windows.

Closes GH-9358.
2022-08-28 13:56:34 +02:00
Anatol Belski 04a6bbae6c Add symbol to libxml exports 2017-09-11 17:35:25 +02:00
Anatol Belski b312a7ee38 extend libxml exports 2015-05-13 15:20:20 +02:00
Rob Richards 0c1e5d044c add missing exports 2008-12-27 12:14:56 +00:00
Rob Richards 0466c8c54b add missing export 2008-01-27 16:32:37 +00:00
Rob Richards f79418bbd1 fix def file for 2.6.26 (xmlXPathCompiledEvalToBoolean required in .27) 2006-09-07 11:24:22 +00:00
Rob Richards cd347ea2e5 update def file 2006-09-06 23:48:02 +00:00
Edin Kadribasic d2af3d0e30 MFB: Updated to libxml2 to 2.6.22, thanks to rrichards 2005-12-11 21:55:00 +00:00
Frank M. Kromann 5c412842d9 Move iconv exports to the iconv extension and make libxml depend on iconv 2004-08-04 16:47:17 +00:00
Edin Kadribasic a0a046ca09 New libxml2 version for windows build.
Version 2.6.11.
http://ctindustries.net/dom/libxml/
2004-08-03 22:45:36 +00:00
Frank M. Kromann d147e65186 Add missing export. 2004-02-24 19:08:28 +00:00
Rob Richards 44bd3bf47a libxml2 and iconv export file 2003-12-05 19:26:05 +00:00