Files
omni-tools/src
s mz a37ceb9aed fix(csv-to-xml): escape XML special characters in cell values
CSV cell values containing &, <, >, ", ' were inserted
directly into XML element content without escaping, producing
malformed XML output. This adds an escapeXml() function that
converts these characters to their corresponding XML entities
(&amp;, &lt;, &gt;, &quot;, &apos;).

Also adds sanitizeXmlElementName() to convert CSV headers
into valid XML element names by replacing invalid characters
with underscores.

Adds unit tests covering all five XML special characters,
sanitized headers, empty values, and normal data.

Fixes #405
2026-07-17 15:26:31 +08:00
..
2025-07-09 02:16:29 +01:00
2026-05-04 22:08:59 +02:00
2024-06-21 22:35:56 +01:00
2025-04-05 04:36:22 +00:00
2024-06-22 22:06:16 +01:00
2025-04-03 18:42:24 +00:00
2025-07-22 18:53:03 +01:00
2026-03-10 14:32:42 +01:00
2026-05-04 21:52:45 +02:00
2025-07-13 13:01:02 +01:00