Pmi043 — Lower-case relation names where RP requires lower-case keywords

§12.7 (sub-class: semantic-vs-graphic)

P1 — silent data loss

pmi

Sources

Description

Relation `name` values (e.g. on `geometric_tolerance_relationship`) use upper or mixed case where RP requires lower-case keywords (`'composite'`, `'all around'`, etc.).

Reproducer recipe

`geometric_tolerance_relationship('Composite', t1, t2)` with capital C.

Expected kernel behavior

Heal and accept: case-insensitive normalize on read; emit lower-case on write; warn on case mismatch.

Notes

**See also**: Lh030. Synonyms: "lowercase relation names where RP requires lowercase keywords", "relation name capitalization wrong", "PMI relation keyword case incorrect".

Expected validation

occt=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a

Byte assertions

Tier-3 assertions

Cross-references

Lh030

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Pmi043: GEOMETRIC_TOLERANCE_RELATIONSHIP name values use wrong capitalisation: 'Composite' and 'All Around' instead of the AP242 RP-required lowercase 'composite' and 'all around'; receivers must case-insensitive-normalize on read and warn on case mismatch; silently accepting mixed-case is forbidden; GEOMETRIC_CURVE_SET IS model entity — OCC yields empty */
3HEADER;
4FILE_DESCRIPTION(('Pmi043'),'2;1');
5FILE_NAME('Pmi043.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
7ENDSEC;
8DATA;
9#9000=APPLICATION_CONTEXT('mechanical design');
10#1=CARTESIAN_POINT('',(0.0,0.0,0.0));
11#2=GEOMETRIC_CURVE_SET('',(#1));
12#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
13#9051=PRODUCT('Pmi043','Pmi043','',(#9050));
14#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
15#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
16#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
17#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
18#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
19#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
20#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
21#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
22#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
23#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#2),#9060);
24#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
25#9063=SHAPE_ASPECT('datum_feature_A','',#9055,.T.);
26#9064=DATUM('A','',#9063,.T.);
27#9065=DATUM_REFERENCE_ELEMENT(#9064,$,$,$,$);
28#9066=DATUM_REFERENCE_COMPARTMENT('primary',(#9065));
29#9067=DATUM_SYSTEM('DRF',(#9066));
30#9068=SHAPE_ASPECT('surface_A','',#9055,.T.);
31#9069=SHAPE_ASPECT('surface_B','',#9055,.T.);
32#9070=MEASURE_REPRESENTATION_ITEM('tol',LENGTH_MEASURE(0.05),#9056);
33#9071=POSITION_TOLERANCE(#9068,#9070,#9067,$);
34#9072=POSITION_TOLERANCE(#9069,#9070,#9067,$);
35#9073=GEOMETRIC_TOLERANCE_RELATIONSHIP('Composite','',#9071,#9072);
36#9074=GEOMETRIC_TOLERANCE_RELATIONSHIP('All Around','',#9071,#9072);
37ENDSEC;
38END-ISO-10303-21;