Le029 — Header `FILE_DESCRIPTION` strings containing commas or parentheses (regex-split bug)

§12.1a encoding/strings (sub-class: header string lexing)

P1 — silent data loss

encoding

Sources

Description

Header parsers implemented as regex-split-on-comma fail when a description string contains literal commas or balanced parentheses. Real IFC and STEP headers commonly carry both.

Reproducer recipe

`FILE_DESCRIPTION(('a, b (c)','d'),'2;1');`

Expected kernel behavior

Heal and accept: tokenise strings before splitting parameters; treat `'…'` content opaquely.

Notes

Synonyms: "FILE_DESCRIPTION with comma trips header parser", "regex header parser breaks on parens", "comma inside string splits header wrong", "IFC header parens confuse split", "header description with embedded comma".

Expected validation

occt=empty/empty gmsh=empty ifc=schema_n/a

Byte assertions

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Le029: Header FILE_DESCRIPTION strings containing commas or parentheses; ISO 10303-21 §8.2.1: FILE_DESCRIPTION string values are opaque; header parsers using regex-split-on-comma fail on 'a, b (c)' content; splitting on the comma inside the string yields wrong parameter count; unmatched parenthesis detection breaks on balanced parens inside strings; file uses FILE_DESCRIPTION(('a, b (c)','d'),'2;1') — comma and parens in string; correct parser must tokenise strings before splitting parameters; GEOMETRIC_CURVE_SET IS model entity — OCC yields empty */
3HEADER;
4FILE_DESCRIPTION(('a, b (c)','d'),'2;1');
5FILE_NAME('Le029.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
7ENDSEC;
8DATA;
9#1=CARTESIAN_POINT('',(0.0,0.0,0.0));
10#2=GEOMETRIC_CURVE_SET('',(#1));
11ENDSEC;
12END-ISO-10303-21;