1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00
libxml2/include/private
Nick Wellnhofer 37c6618be5 parser: Rework parsing of attribute and entity values
Don't use a separate function to handle "complex" attributes. Validate
UTF-8 byte sequences without decoding. This should improve performance
considerably when parsing multi-byte UTF-8 sequences.

Use a string buffer to avoid unnecessary allocations and copying when
expanding entities.

Normalize attribute values in a single pass while expanding entities.

Be more lenient in recovery mode.

If no entity substitution was requested, validate entities without
expanding. Fixes #596.

Also fixes #655.
2024-01-02 15:42:03 +01:00
..
buf.h parser: Simplify input pointer updates 2023-08-08 15:21:14 +02:00
dict.h dict: Move local RNG state to global state 2023-12-24 16:24:34 +01:00
enc.h parser: Decode all data in xmlCharEncInput 2023-08-08 15:21:31 +02:00
entities.h parser: Rework parsing of attribute and entity values 2024-01-02 15:42:03 +01:00
error.h io: Consolidate error messages 2023-12-21 15:02:24 +01:00
globals.h dict: Move local RNG state to global state 2023-12-24 16:24:34 +01:00
html.h Hide internal functions 2022-11-27 02:20:53 +01:00
io.h parser: New input API 2023-12-29 01:22:13 +01:00
Makefile.am autotools: Fix make distcheck 2023-02-13 11:14:34 +01:00
memory.h Hide internal functions 2022-11-27 02:20:53 +01:00
parser.h parser: Rework parsing of attribute and entity values 2024-01-02 15:42:03 +01:00
regexp.h regexp: Report malloc failures 2023-12-11 22:13:05 +01:00
save.h Hide internal functions 2022-11-27 02:20:53 +01:00
string.h error: Refactor error reporting 2023-12-21 02:46:27 +01:00
threads.h globals: Rework global state destruction on Windows 2023-09-20 22:06:49 +02:00
tree.h tree: Report malloc failures 2023-12-11 22:13:05 +01:00
xinclude.h xinclude: Fix include guard 2023-02-22 14:24:24 +01:00
xpath.h xpath: Improve error handling 2023-12-21 02:46:27 +01:00
xzlib.h io: More refactoring and unescaping fixes 2023-12-25 23:38:40 +01:00