Browse Source

scripts: logging/dictionary/sys-t: remove escape between CDATA

This removes escape from generate XML_CATALOG_EACH string, because
the string between CDATA tag need to be treated as normal text.

Signed-off-by: Fang Huang <fang.huang@intel.com>
pull/66572/head
Fang Huang 2 years ago committed by Carles Cufí
parent
commit
15640611cf
  1. 4
      scripts/logging/dictionary/dictionary_parser/mipi_syst.py

4
scripts/logging/dictionary/dictionary_parser/mipi_syst.py

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) 2022 Intel Corporation
# Copyright (c) 2022 - 2023 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
@ -106,7 +106,7 @@ def __gen_syst_catalog(database): @@ -106,7 +106,7 @@ def __gen_syst_catalog(database):
fmt = XML_CATALOG32_EACH
for addr, one_str in database.get_string_mappings().items():
xml += fmt.format(addr, escape(one_str))
xml += fmt.format(addr, one_str)
if database.is_tgt_64bit():
xml += XML_CATALOG64_FOOTER

Loading…
Cancel
Save