Files
Petru Conduraru 380675e214 ifcparse: strip XML-illegal control characters in escape_xml (#2043, #3074)
escape_xml escaped the five XML metacharacters but passed control
characters (0x00 to 0x1F other than tab, newline and carriage return)
through unchanged. Those bytes are illegal in XML 1.0 and cannot be
represented even as numeric character references, so any IFC string
containing them produced non-well-formed XML and SVG output.

Strip those illegal control characters before escaping. Bytes belonging to
a valid UTF-8 multibyte sequence are always >= 0x80, so filtering on the low
control range leaves real text intact. This is the shared helper used by the
SVG serializer text and attribute sites (audited: all route through it) and
by the XML/Collada paths, so both reports are resolved at one place.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-11 15:20:47 +02:00
..
2025-12-22 18:44:42 +05:00
2025-10-25 15:30:36 +02:00
2025-10-22 21:42:37 +02:00
2025-02-21 16:13:39 +01:00
2025-02-21 16:13:39 +01:00
2025-02-21 16:13:39 +01:00
2025-02-21 16:13:39 +01:00
2025-02-21 16:13:39 +01:00
2025-02-21 16:13:39 +01:00
2025-02-21 16:13:39 +01:00
2025-02-21 16:13:39 +01:00
2025-02-21 16:13:39 +01:00
2025-02-21 16:13:39 +01:00
2025-02-21 16:13:39 +01:00
2025-02-21 16:13:39 +01:00
2026-06-11 21:09:56 +02:00
2026-06-11 21:09:56 +02:00
2026-06-11 21:09:56 +02:00
2026-06-11 21:09:56 +02:00
2025-10-03 18:12:56 +02:00
2025-10-13 20:47:43 +02:00
2026-06-11 21:09:56 +02:00
2026-06-11 21:09:56 +02:00
2026-06-11 21:09:56 +02:00
2026-06-11 21:09:56 +02:00
2026-06-11 21:09:56 +02:00
2026-06-11 21:09:56 +02:00
2026-06-24 11:12:21 +02:00
2026-06-12 11:04:18 +02:00
2026-06-11 21:09:56 +02:00
2026-06-11 21:09:56 +02:00