step-examples/12-1b-header/Lh038.stp
Sources
- 16-iso-spec ISO 10303-21 Ed.3 §6.3 (FILE_POPULATION)
Description
Edition-3 FILE_POPULATION records declare a 'population' (a named subset of instances) whose closure is determined by a separate marker or by section boundary. When the marker is missing or misspelt, instances appear to belong to multiple populations or to none. Consumers diverge on whether to treat the open population as covering the whole DATA section or to discard the population designation.
Reproducer recipe
HEADER contains `FILE_POPULATION('release_a','version-1','release-baseline');` with no closing record.
Expected kernel behavior
parse FILE_POPULATION metadata and either apply the named population to the entire DATA section deterministically or reject the unterminated population with a diagnostic; do not silently apply to an arbitrary subset.
Notes
**See also**: Lh016. **OCC behavior**: silently accepts the unterminated `FILE_POPULATION` record with no diagnostic; kernel mishandling; the catalog above forbids silent application to an arbitrary subset. Synonyms: "FILE_POPULATION unterminated", "STEP population set without close marker", "FILE_POPULATION missing terminator", "instances belong to no population", "ambiguous FILE_POPULATION boundary".
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
contains(b'FILE_POPULATION(')contains(b'release_a')
Tier-3 assertions
shape_null == True
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/* Lh038: FILE_POPULATION header record without closing population marker */ 3/* ISO 10303-21 Ed.3 §6.3: FILE_POPULATION must have a corresponding close marker */ 4/* DEFECT: FILE_POPULATION('release_a',...) has no terminator/close marker */ 5/* instances appear to belong to population 'release_a' or to none; */ 6/* OCC silently accepts with no diagnostic; expected: reject or require deterministic apply */ 7HEADER; 8FILE_DESCRIPTION(('Lh038: FILE_POPULATION without close marker'),'2;1'); 9FILE_NAME('Lh038.stp','2026-06-20T00:00:00',(''),(''),'cad-research-suite','',''); 10FILE_SCHEMA(('AUTOMOTIVE_DESIGN')); 11FILE_POPULATION('release_a','version-1','release-baseline'); 12/* DEFECT: no closing/terminating record for the population 'release_a' */ 13ENDSEC; 14DATA; 15#1=CARTESIAN_POINT('origin',(0.,0.,0.)); 16#2=CARTESIAN_POINT('corner',(1.,1.,0.)); 17#3=DIRECTION('xdir',(1.,0.,0.)); 18#4=DIRECTION('zdir',(0.,0.,1.)); 19#5=GEOMETRIC_CURVE_SET('unterminated-population-shape',(#1,#2)); 20ENDSEC; 21END-ISO-10303-21;