Lh045 — Cross-section reference to undefined section name

§12.1b header/numbering (sub-class: multi-section)

spec-violation syntax

Sources

Description

Edition-3 cross-section references `@name#NNN` resolve against the section whose `DATA('name')` declaration matches `name`. A producer that misspells the section name in a cross-reference (`@geomtry#5` for `@geometry#5`), or refers to a section that was renamed during refactoring, or copies records from another file without updating the section name, leaves a dangling reference. Receivers diverge: strict ones reject, lenient ones substitute null and load the rest, some search alternative sections in declaration order and silently bind to a wrong instance.

Reproducer recipe

DATA section `'geometry'` defines `#10=CARTESIAN_POINT('p',(0.0,0.0,0.0))`; DATA section `'pmi'` defines an `AXIS2_PLACEMENT_3D` whose location is `@geomtry#10` (typo) — section `'geomtry'` does not exist.

Expected kernel behavior

reject the unresolved cross-reference with a precise diagnostic naming the missing section and the referencing instance; never silently bind to a same-named instance in a different section.

Notes

**See also**: Lh033, Lh039. Synonyms: "misspelled section name in cross-reference", "@geomtry instead of @geometry", "STEP @section name typo", "renamed section reference broken", "cross-reference to non-existent section".

Expected validation

occt=reject/reject gmsh=reject ifc=schema_n/a

Byte assertions

Tier-3 assertions

Cross-references

Lh033, Lh039

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Lh045 - Cross-section reference to an undefined section name
3 * Defect: section 'pmi' references @geomtry#10 (typo) when only
4 * 'geometry' exists. Strict readers reject; lenient ones silently
5 * substitute null or bind to a wrong same-named instance. */
6HEADER;
7FILE_DESCRIPTION(('Lh045 - cross-section ref to undefined section name'),'2;1');
8FILE_NAME('Lh045.stp','2026-04-30T00:00:00',(''),(''),'cad-research-suite','','');
9FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
10ENDSEC;
11DATA('geometry');
12#1=APPLICATION_CONTEXT('automotive_design');
13#10=CARTESIAN_POINT('p',(0.0,0.0,0.0));
14#11=DIRECTION('z',(0.0,0.0,1.0));
15#12=DIRECTION('x',(1.0,0.0,0.0));
16ENDSEC;
17DATA('pmi');
18/* Defect: section 'geomtry' (typo) does not exist anywhere. */
19#5=AXIS2_PLACEMENT_3D('p',@geomtry#10,@geometry#11,@geometry#12);
20ENDSEC;
21END-ISO-10303-21;