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
..
2023-12-28 16:47:41 +01:00
2023-03-08 13:58:49 +01:00
2019-09-30 18:04:38 +02:00
2022-12-13 01:43:49 +01:00
2000-08-27 21:12:29 +00:00
2023-12-25 23:38:40 +01:00
1999-11-17 17:32:38 +00:00
1999-11-17 17:32:38 +00:00
2000-08-27 21:12:29 +00:00
2000-08-27 21:12:29 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00