Ad078 — `NEXT_ASSEMBLY_USAGE_OCCURRENCE` child as PRODUCT_DEFINITION_SHAPE (mis-typed select)

§12.11 (sub-class: type-confusion)

P2 — spec deviation (no data loss)

adversarial

Sources

Description

NAUO can refer to either `PRODUCT_DEFINITION` or `PRODUCT_DEFINITION_SHAPE`; schema-strict reader rejected the latter, while permissive reader cast across vtables.

Reproducer recipe

NAUO referencing PDS instead of PD.

Expected kernel behavior

Warn and accept PDS child; resolve PDS→PD silently with warn. Do not reject.

Notes

**See also**: Ad030.

Expected validation

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

Byte assertions

Tier-3 assertions

Cross-references

Ad030

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Ad078: type-confusion: NAUO child slot references PRODUCT_DEFINITION_SHAPE instead of PRODUCT_DEFINITION; schema-strict reader rejects, permissive reader casts across vtables; kernel must warn and resolve PDS→PD silently; Mantis 0025167 (G016); R049; See also Ad030; GEOMETRIC_CURVE_SET IS model entity — OCC yields empty */
3HEADER;
4FILE_DESCRIPTION(('Ad078'),'2;1');
5FILE_NAME('Ad078.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
7ENDSEC;
8DATA;
9#1=CARTESIAN_POINT('',(0.0,0.0,0.0));
10#2=GEOMETRIC_CURVE_SET('',(#1));
11#3=PRODUCT('part_a','part_a','',());
12#4=PRODUCT_DEFINITION_FORMATION('','',#3);
13#5=PRODUCT_DEFINITION('parent','',#4,#9003);
14#6=PRODUCT('part_b','part_b','',());
15#7=PRODUCT_DEFINITION_FORMATION('','',#6);
16#8=PRODUCT_DEFINITION('child_pd','',#7,#9003);
17#9=PRODUCT_DEFINITION_SHAPE('','',#8);
18#10=NEXT_ASSEMBLY_USAGE_OCCURRENCE('nauo_mistype','','',#5,#9,$);
19ENDSEC;
20END-ISO-10303-21;