genode/repos/base/include/util
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
..
arg_string.h base: avoid implicit conversions 2021-12-17 15:04:44 +01:00
array.h Allow derived classes of Genode::Array 2022-02-15 10:10:01 +01:00
attempt.h base: pass lambdas by reference in util/attempt.h 2022-02-15 10:16:51 +01:00
avl_string.h Replace Genode::strncpy by Genode::copy_cstring 2020-05-27 11:56:45 +02:00
avl_tree.h Add missing override annotations 2019-02-19 11:12:11 +01:00
bit_allocator.h util/bit_array.h: remove use of memset and memcpy 2020-05-05 13:30:15 +02:00
bit_array.h util/bit_array.h: remove use of memset and memcpy 2020-05-05 13:30:15 +02:00
construct_at.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
fifo.h base: make 'Fifo::Element::enqueued' const 2019-11-19 14:54:13 +01:00
flex_iterator.h base: avoid warnings about shift operations 2018-11-16 14:37:18 +01:00
interface.h Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
list_model.h util/list_model.h: Add update_list_model_from_xml 2021-11-29 15:10:52 +01:00
list.h base: Make Genode::List clang friendly. 2021-01-25 13:58:10 +01:00
meta.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
misc_math.h base: avoid implicit conversions 2021-12-17 15:04:44 +01:00
mmio.h mmio: make base address member private 2017-03-15 12:32:24 +01:00
noncopyable.h base: cleanup Noncopyable declarations/coding style 2021-02-23 11:51:57 +01:00
print_lines.h Replace Genode::strncpy by Genode::copy_cstring 2020-05-27 11:56:45 +02:00
reconstructible.h reconstructible: Fix alignas specifier placement. 2021-10-15 15:45:52 +02:00
register_set.h base: add 'wait_for_any' to 'Register_set' 2020-02-10 16:00:40 +01:00
register.h base: Make int to access_t conversion explicit. 2022-01-19 12:35:48 +01:00
retry.h Genode::retry(): fix compile error with GCC 6 2017-05-31 13:15:50 +02:00
string.h xml_node: support backslash as attribute value 2022-02-21 15:44:22 +01:00
token.h xml_node: support backslash as attribute value 2022-02-21 15:44:22 +01:00
touch.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
xml_generator.h base: avoid implicit conversions 2021-12-17 15:04:44 +01:00
xml_node.h xml_node: support backslash as attribute value 2022-02-21 15:44:22 +01:00