diff --git a/tools/eds/cfecfs/edsmsg/eds/cfe_hdr.xml b/tools/eds/cfecfs/edsmsg/eds/cfe_hdr.xml index ff0ca0cbc..d927c76f1 100644 --- a/tools/eds/cfecfs/edsmsg/eds/cfe_hdr.xml +++ b/tools/eds/cfecfs/edsmsg/eds/cfe_hdr.xml @@ -79,7 +79,7 @@ - --> + @@ -88,7 +88,7 @@ - --> + diff --git a/tools/eds/tool/scripts/85-seds_write_resolved_xml.lua b/tools/eds/tool/scripts/85-seds_write_resolved_xml.lua index b3d55e1fe..46cd88c78 100644 --- a/tools/eds/tool/scripts/85-seds_write_resolved_xml.lua +++ b/tools/eds/tool/scripts/85-seds_write_resolved_xml.lua @@ -73,6 +73,11 @@ local function write_node(output,node,name_prefix) attrval = string.format("%g",attrval) end end + if (type(attrval) == "string") then + attrval = attrval:gsub("&", "&") + attrval = attrval:gsub("<", "<") + attrval = attrval:gsub(">", ">") + end my_attrs = string.format("%s %s=\"%s\"",my_attrs, node.xml_attrname[attr], tostring(attrval)) end local cdata = ""