Lh009 — Blank, mis-cased, or unrecognized schema name

§12.1b header/numbering

P1 — silent data loss

spec-violation syntax

Sources

Description

FILE_SCHEMA value is `''`, mixed-case (`'AutomotiveDesign'`), uses a non-canonical long form (e.g. `_MIM` instead of `_MIM_LF`), names an internal vendor schema, or comma-separates multiple schemas inside one string instead of using a LIST.

Reproducer recipe

`FILE_SCHEMA(('AUTOMOTIVE_DESIGN_MIM'));` (instead of `_MIM_LF`); `FILE_SCHEMA(('AutomotiveDesign'));`; `FILE_SCHEMA(('AUTOMOTIVE_DESIGN, IFC2X3'));` (one string, two names).

Expected kernel behavior

case-fold to upper for compare; reject the comma-in-string variant; warn-and-fall-back-to-best-fit on unrecognized names.

Notes

**See also**: Lh006. Synonyms: "empty FILE_SCHEMA value", "mixed-case schema name", "vendor schema in FILE_SCHEMA", "comma-separated schemas inside one string", "unrecognised schema name".

Expected validation

occt=empty/empty gmsh=empty ifc=schema_n/a

Byte assertions

Tier-3 assertions

Cross-references

Lh006

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Lh009: FILE_SCHEMA uses non-canonical truncated schema name */
3/* ISO 10303-21 §8: schema name must match a registered AP identifier exactly */
4/* DEFECT: 'AUTOMOTIVE_DESIGN_MIM' is missing the required '_LF' suffix */
5/* Correct form: FILE_SCHEMA(('AUTOMOTIVE_DESIGN_MIM_LF')); */
6/* Receivers that do exact-match comparison will fail to bind the schema */
7HEADER;
8FILE_DESCRIPTION(('Lh009: FILE_SCHEMA with non-canonical truncated schema name'),'2;1');
9FILE_NAME('Lh009.stp','2026-06-20T00:00:00',(''),(''),'cad-research-suite','','');
10/* DEFECT: AUTOMOTIVE_DESIGN_MIM is not a registered schema; _LF suffix is required */
11FILE_SCHEMA(('AUTOMOTIVE_DESIGN_MIM'));
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('unrecognised-schema-name-shape',(#1,#2));
19ENDSEC;
20END-ISO-10303-21;