step-examples/12-1b-header/Lh007.stp
Sources
- 06-nist-sfa S012, 11-translator-vendors W047
Sender
producers targeting multiple AP versions (e.g. AP203 + AP214)
Description
`FILE_SCHEMA` carries `('AP203_CONFIG_CONTROL_DESIGN','AUTOMOTIVE_DESIGN')`. Most receivers consume only the first; some pick the most-capable; behavior is implementation-defined and divergent.
Reproducer recipe
`FILE_SCHEMA(('AP203_CONFIG_CONTROL_DESIGN','AUTOMOTIVE_DESIGN'));` or with embedded comments inside the parentheses.
Expected kernel behavior
warn; pick the most-capable supported schema deterministically; do not crash. Document which one was chosen.
Notes
Validation observed: silent-empty (no shape produced) rather than the cited divergent-pick behavior. Specific divergent-pick code path may not be exercised at fixture scale; the kernel-mishandling-by-silent-acceptance still demonstrates the defect class (implementation-defined behavior on multi-schema lists). **See also**: Lh006. Synonyms: "multiple schemas in FILE_SCHEMA", "FILE_SCHEMA lists AP203 and AP214 together", "two schema names in one FILE_SCHEMA", "STEP picks wrong schema from multi-list", "compound FILE_SCHEMA confuses receiver".
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
matches(rb"FILE_SCHEMA\(\(\s*'[^']+'\s*,\s*'[^']+'\s*\)\)")count(b"','") >= 2 or matches(rb"FILE_SCHEMA\(\(\s*'[^']+',\s*'")
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/* Lh007: FILE_SCHEMA lists two schema names â implementation-defined behavior */ 3/* ISO 10303-21 §8: behavior is undefined when FILE_SCHEMA contains multiple names */ 4/* DEFECT: FILE_SCHEMA(('AP203_CONFIG_CONTROL_DESIGN','AUTOMOTIVE_DESIGN')); */ 5/* Receivers diverge: first-wins vs most-capable-wins; both are non-deterministic */ 6HEADER; 7FILE_DESCRIPTION(('Lh007: FILE_SCHEMA with multiple schema names'),'2;1'); 8FILE_NAME('Lh007.stp','2026-06-20T00:00:00',(''),(''),'cad-research-suite','',''); 9/* DEFECT: two schema names in one FILE_SCHEMA â divergent receiver behavior */ 10FILE_SCHEMA(('AP203_CONFIG_CONTROL_DESIGN','AUTOMOTIVE_DESIGN')); 11ENDSEC; 12DATA; 13#1=CARTESIAN_POINT('origin',(0.,0.,0.)); 14#2=CARTESIAN_POINT('corner',(1.,1.,0.)); 15#3=DIRECTION('xdir',(1.,0.,0.)); 16#4=DIRECTION('zdir',(0.,0.,1.)); 17#5=GEOMETRIC_CURVE_SET('multi-schema-file-schema-shape',(#1,#2)); 18ENDSEC; 19END-ISO-10303-21;