Bo002 — MANIFOLD_SOLID_BREP with dangling shell reference (outer points to a non-existent entity)

§12.3a (sub-class: shell completeness)

silent-loss topology

Sources

Sender

deduced — OCCT uncovered-class sweep

Description

A shape representation lists a top-level `MANIFOLD_SOLID_BREP` whose `outer` slot is itself an entity reference to a non-existent or null shell. This is the degenerate edge of "empty shell"; there is not even a wrapper for the boundary.

Reproducer recipe

`MANIFOLD_SOLID_BREP` whose `outer` reference resolves to nothing in the data section.

Expected kernel behavior

Detect missing shell at parse time; reject the solid.

Notes

Cross-oracle: pure-Python Part-21 validator rejects (reject(E_UNRESOLVED_REFS)); OCCT silently accepts (load is `empty`). OCC auto-heals a spec-level violation.

Expected validation

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

Byte assertions

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Bo002: MANIFOLD_SOLID_BREP outer points to non-existent shell entity #999 */
3HEADER;
4FILE_DESCRIPTION(('Bo002'),'2;1');
5FILE_NAME('Bo002.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=MANIFOLD_SOLID_BREP('dangling_solid',#999);
11#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
12#9051=PRODUCT('Bo002','Bo002','',(#9050));
13#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
14#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
15#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
16#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
17#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
18#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
19#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
20#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
21#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
22#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#1),#9060);
23#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
24ENDSEC;
25END-ISO-10303-21;