step-examples/12-1b-header/Lh044.stp
Sources
- 16-iso-spec ISO 10303-21 Ed.3 §7 (named DATA sections, cross-section reference syntax)
Description
Edition-3 named DATA sections allow a cross-section reference `@section#NNN`. A producer that organises its model into a foundation section plus a derived section can emit `@derived#10` whose definition is itself `@foundation#20`. A receiver that does not eagerly resolve transitive cross-section references either presents the user with the indirection-handle (a placeholder pointing at another reference) or short-circuits and skips the indirection. The two outcomes diverge geometrically. Bug-reporter language: "cross-section ref through another ref", "STEP file has chained cross-section pointers".
Reproducer recipe
DATA section `'foundation'` defines `#20=CARTESIAN_POINT('origin',(0.0,0.0,0.0))`; DATA section `'derived'` defines `#10=@foundation#20`; an `AXIS2_PLACEMENT_3D` in a third section `'topology'` references `@derived#10`.
Expected kernel behavior
Heal and accept: resolve transitive cross-section references to their concrete instance before geometry uses them; or, if a placeholder model is preferred, document the deferred-resolution policy and warn-and-accept when the chain is followed.
Notes
**See also**: Lh033, Lh039. Synonyms: "chained cross-section reference", "@s1#10 resolves to @s2#20", "transitive @section reference", "STEP cross-section chain", "multi-hop named-section reference".
Expected validation
occt=reject/reject gmsh=reject ifc=schema_n/a
Byte assertions
contains(b"DATA('foundation'") and contains(b"DATA('derived'") and contains(b'@derived#') and contains(b'@foundation#')count(b'@') >= 2
Tier-3 assertions
load != "ok"
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* Lh044 - Cross-section reference resolves through a chain 3 * Defect: section 'derived' defines #10 as @foundation#20; section 4 * 'topology' references @derived#10 which is itself a cross-section 5 * pointer. Receivers diverge on whether to eagerly resolve transitively 6 * or present a placeholder handle that points at another reference. */ 7HEADER; 8FILE_DESCRIPTION(('Lh044 - chained cross-section reference'),'2;1'); 9FILE_NAME('Lh044.stp','2026-04-30T00:00:00',(''),(''),'cad-research-suite','',''); 10FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }')); 11ENDSEC; 12DATA('foundation'); 13#1=APPLICATION_CONTEXT('automotive_design'); 14#20=CARTESIAN_POINT('origin',(0.0,0.0,0.0)); 15#21=DIRECTION('z',(0.0,0.0,1.0)); 16#22=DIRECTION('x',(1.0,0.0,0.0)); 17ENDSEC; 18DATA('derived'); 19/* Defect: derived#10 is itself a cross-section ref, not a concrete 20 instance. */ 21#10=@foundation#20; 22ENDSEC; 23DATA('topology'); 24/* Defect: this AXIS2_PLACEMENT_3D points at the indirect handle. */ 25#5=AXIS2_PLACEMENT_3D('p',@derived#10,@foundation#21,@foundation#22); 26ENDSEC; 27END-ISO-10303-21;