Lh033 — Multi-DATA-section file with cross-section reference via `@section_name#NNN`

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

spec-violation syntax

Sources

Description

Edition-3 introduces named DATA sections (`DATA('section_name')`) and cross-section references of the form `@section_name#NNN` to refer to instance NNN inside a different section. Edition-2 readers (the majority) recognise only `DATA;` (no name) and a single anonymous data section. Such readers either ignore the section name (collapsing all instances into one global pool, where `#NNN` may collide between sections) or choke on the `@` syntax.

Reproducer recipe

two named DATA sections `'geometry'` and `'pmi'`; an instance in `'pmi'` references `@geometry#2`.

Expected kernel behavior

parse named DATA sections and resolve `@name#NNN` cross-references against the named section; reject duplicate section names. Edition-2-only kernels should reject the file rather than silently collapse handles.

Notes

**See also**: Lh024. Synonyms: "cross-section reference @section#NNN", "Ed.3 named DATA section reference", "Ed.2 reader rejects @section#NNN", "named DATA section unsupported", "multi-DATA section cross reference".

Expected validation

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

Byte assertions

Tier-3 assertions

Cross-references

Lh024

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* Lh033 - Multi-DATA-section file with cross-section reference
3 * via @section_name#NNN
4 * Defect: ISO 10303-21 Edition 3 introduces named DATA sections
5 * (DATA('section_name')) and cross-section references of the form
6 * @section_name#NNN to refer to instance NNN inside a different
7 * section. Edition-2 readers (the majority) recognise only DATA;
8 * (no name) and a single anonymous data section. Such readers
9 * either ignore the section name (collapsing all instances into
10 * one global pool, where #NNN may collide between sections) or
11 * choke on the @ syntax. This fixture has two named sections
12 * 'geometry' and 'pmi' and a forward reference @geometry#10 from
13 * inside 'pmi'. */
14HEADER;
15FILE_DESCRIPTION(('Lh033 - multi-DATA-section file with cross-section ref'),'2;1');
16FILE_NAME('Lh033.stp','2026-04-26T00:00:00',(''),(''),
17  'cad-research-suite','','');
18FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
19ENDSEC;
20DATA('geometry');
21#1=APPLICATION_CONTEXT('automotive_design');
22#2=PRODUCT_CONTEXT('part',#1,'mechanical');
23#10=CARTESIAN_POINT('origin',(0.0,0.0,0.0));
24#11=DIRECTION('z',(0.0,0.0,1.0));
25#12=DIRECTION('x',(1.0,0.0,0.0));
26#13=AXIS2_PLACEMENT_3D('placement',#10,#11,#12);
27ENDSEC;
28DATA('pmi');
29/* Defect: @geometry#10 refers across the section boundary */
30#10=PRODUCT('cross-ref','witness','',(@geometry#2));
31#20=CARTESIAN_POINT('local',(1.0,0.0,0.0));
32ENDSEC;
33END-ISO-10303-21;