php-src/ext/xml
Aliaksandr Bystry a9661a5293
Fix #70962: XML_OPTION_SKIP_WHITE strips embedded whitespace
We must never strip embedded whitespace; we only need to skip values
when that option is set, and make sure that we keep BC regarding the
different behavior for "cdata" and "complete" elements (for the former,
the whole element is skipped; for the latter only the "value" key).

We also fix erroneous `int` types which should actually be `size_t`.

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-7493.
2021-09-16 12:00:28 +02:00
..
tests Fix #70962: XML_OPTION_SKIP_WHITE strips embedded whitespace 2021-09-16 12:00:28 +02:00
compat.c Fix #81351: xml_parse may fail, but has no error code 2021-08-13 17:33:58 +02:00
config.m4 Use a common setup macro to detect the Expat library 2019-06-04 10:10:50 +02:00
config.w32 Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
CREDITS
expat_compat.h Remove local variables 2019-02-03 21:03:00 +01:00
php_xml.h Remove local variables 2019-02-03 21:03:00 +01:00
xml.c Fix #70962: XML_OPTION_SKIP_WHITE strips embedded whitespace 2021-09-16 12:00:28 +02:00