genode/repos/base/recipes/pkg
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
..
test-ds_ownership depot: update recipe hashes 2022-02-15 10:23:59 +01:00
test-entrypoint depot: update recipe hashes 2022-02-15 10:23:59 +01:00
test-log depot: update recipe hashes 2022-02-15 10:23:59 +01:00
test-mmio depot: update recipe hashes 2022-02-15 10:23:59 +01:00
test-new_delete depot: update recipe hashes 2022-02-15 10:23:59 +01:00
test-reconstructible depot: update recipe hashes 2022-02-15 10:23:59 +01:00
test-registry depot: update recipe hashes 2022-02-15 10:23:59 +01:00
test-rm_fault depot: update recipe hashes 2022-02-15 10:23:59 +01:00
test-rm_fault_no_nox depot: update recipe hashes 2022-02-15 10:23:59 +01:00
test-rm_nested depot: update recipe hashes 2022-02-15 10:23:59 +01:00
test-rm_stress depot: update recipe hashes 2022-02-15 10:23:59 +01:00
test-sanitizer depot: update recipe hashes 2022-02-15 10:23:59 +01:00
test-stack_smash depot: update recipe hashes 2022-02-15 10:23:59 +01:00
test-synced_interface depot: update recipe hashes 2022-02-15 10:23:59 +01:00
test-timer depot: update recipe hashes 2022-02-15 10:23:59 +01:00
test-tls depot: update recipe hashes 2022-02-15 10:23:59 +01:00
test-token depot: update recipe hashes 2022-02-15 10:23:59 +01:00
test-xml_generator depot: update recipe hashes 2022-02-15 10:23:59 +01:00
test-xml_node xml_node: support backslash as attribute value 2022-02-21 15:44:22 +01:00