step-examples/12-1b-header/Lh030.stp
Sources
- 06-nist-sfa S070
Description
Several Recommended Practices specify lower-case keyword strings as canonical attribute values (e.g. `'composite'` on `geometric_tolerance_relationship`). Producers that emit these in mixed or upper case break receivers that string-compare strictly.
Reproducer recipe
`GEOMETRIC_TOLERANCE_RELATIONSHIP('Composite',..);` instead of `'composite'`.
Expected kernel behavior
Heal and accept (case-insensitive match for documented RP keyword values on import); warn; emit canonical lower-case on export.
Notes
Adjacent to Lh018 but specifically about RP-defined string attribute values rather than Part-21 keywords. **See also**: Lh018, Pmi043. Synonyms: "lower-case enum value in name field", "Recommended Practices keyword case mismatch", "composite spelled in mixed case", "STEP attribute string-compare fails on case", "RP-defined keyword not lower-case".
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
contains(b"GEOMETRIC_TOLERANCE_RELATIONSHIP('Composite'")contains(b"'Composite'")
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/* Lh030: mixed-case RP keyword value â 'Composite' instead of 'composite' */ 3/* DEFECT: GEOMETRIC_TOLERANCE_RELATIONSHIP uses 'Composite' (mixed case) */ 4/* Recommended Practices require canonical lower-case 'composite' */ 5/* Receivers that string-compare strictly fail; OCC silently accepts empty */ 6HEADER; 7FILE_DESCRIPTION(('Lh030: mixed-case RP keyword Composite instead of composite'),'2;1'); 8FILE_NAME('Lh030.stp','2026-06-20T00:00:00',(''),(''),'cad-research-suite','',''); 9FILE_SCHEMA(('AUTOMOTIVE_DESIGN')); 10ENDSEC; 11DATA; 12#1=CARTESIAN_POINT('origin',(0.,0.,0.)); 13#2=CARTESIAN_POINT('corner',(1.,1.,0.)); 14#3=DIRECTION('xdir',(1.,0.,0.)); 15#4=DIRECTION('zdir',(0.,0.,1.)); 16#5=LENGTH_MEASURE_WITH_UNIT(LENGTH_MEASURE(0.5),#6); 17#6=( LENGTH_UNIT() NAMED_UNIT(*) SI_UNIT(.MILLI.,.METRE.) ); 18#7=GEOMETRIC_TOLERANCE_WITH_DATUM_REFERENCE($,$,#5,#8,(#9)); 19#8=GEOMETRIC_CURVE_SET('rp-case-mismatch-shape',(#1,#2)); 20#9=DATUM_REFERENCE(1,'A'); 21/* DEFECT: 'Composite' is mixed-case; RP canonical form is 'composite' */ 22#10=GEOMETRIC_TOLERANCE_RELATIONSHIP('Composite','composite tolerance pair',#7,#7); 23ENDSEC; 24END-ISO-10303-21;