step-examples/12-1b-header/Lh015.stp
Sources
- 16-iso-spec N027
Description
ISO 10303-21 reserves header keywords without `!` for the standard. Vendor-specific HEADER entities must begin with `!` to avoid collision with future spec entities. Files appear with bare `VENDOR_INFO(..)` or similar.
Reproducer recipe
`HEADER; FILE_DESCRIPTION((''),'2;1'); FILE_NAME(..); FILE_SCHEMA(('AUTOMOTIVE_DESIGN')); VENDOR_INFO('SolidWorks 2024'); ENDSEC;`
Expected kernel behavior
reject the bare keyword; lenient mode may treat unknown header keywords as ignorable with a warning.
Notes
**See also**: Lh017. Synonyms: "vendor HEADER entity without bang prefix", "user-defined header missing exclamation mark", "VENDOR_INFO bare without !", "non-spec header entity collides with future spec", "custom HEADER record name not prefixed". Provenance tier: bytes-only — defect is context/metadata OCC does not read at BRep load; mutation-test verified oracle-invisible (2026-07-01).
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Provenance tier
bytes-only — defect not fully embodied in fixture bytes.
Byte assertions
matches(rb"FILE_SCHEMA\([^;]*\);\s*VENDOR_INFO\(")contains(b'VENDOR_INFO')
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/* Lh015: user-defined HEADER entity VENDOR_INFO without required ! prefix */ 3/* ISO 10303-21: vendor/user-defined HEADER records must start with ! */ 4/* Standard reserves unprefixed HEADER keywords for future specification use */ 5/* DEFECT: VENDOR_INFO appears without ! prefix after FILE_SCHEMA */ 6/* Strict readers reject unrecognized unprefixed header keywords */ 7HEADER; 8FILE_DESCRIPTION(('Lh015: user-defined HEADER entity without ! prefix'),'2;1'); 9FILE_NAME('Lh015.stp','2026-06-20T00:00:00',(''),(''),'cad-research-suite','',''); 10FILE_SCHEMA(('AUTOMOTIVE_DESIGN')); 11VENDOR_INFO('SolidWorks 2024'); 12ENDSEC; 13DATA; 14#1=CARTESIAN_POINT('origin',(0.,0.,0.)); 15#2=CARTESIAN_POINT('corner',(1.,1.,0.)); 16#3=DIRECTION('xdir',(1.,0.,0.)); 17#4=DIRECTION('zdir',(0.,0.,1.)); 18#5=GEOMETRIC_CURVE_SET('bare-vendor-header-shape',(#1,#2)); 19ENDSEC; 20END-ISO-10303-21;