Norman Feske c2efa5406e xml_node: support backslash as attribute value
XML allows attribute values like <node attr="\"/>. The XML parser
wrongly reflects this case as 'Invalid_syntax'. This behavior stems from
the implicit use of the 'end_of_quote' function, which considers the
sequence of '\"' as a quoted '"' rather than the end of a quoted string.

The patch solves this problem by making the 'end_of_quote' part of
the tokenizer's scanner policy.

The patch removes the 'end_of_quote' function from 'util/string.h'
because it is not universal, and to avoid the ambiguity with
'SCANNER_POLICY::end_of_quote'.

Fixes #4431
2022-02-21 15:44:22 +01:00
..
2021-12-17 15:04:45 +01:00
2020-07-13 11:33:13 +02:00
2021-12-17 15:04:45 +01:00
2021-12-17 15:04:45 +01:00
2017-03-24 16:19:56 +01:00
2022-02-15 10:17:28 +01:00
2019-01-30 13:49:54 +01:00
2021-12-17 15:04:45 +01:00
2021-12-17 15:04:45 +01:00
2021-06-25 11:41:45 +02:00
2021-12-17 15:04:45 +01:00
2021-12-17 15:04:45 +01:00
2020-04-17 12:40:12 +02:00
2022-02-15 10:20:59 +01:00
2021-12-17 15:04:45 +01:00
2021-12-17 15:04:45 +01:00