mpictor/StepClassLibrary — Issue #149: enum_entity_name.exp does not comply with ISO-10303-11:1994
Author: tpaviot
Created: 2012-02-28 16:40:53+00:00
State: open

The following schema, named `enum_entity_name.exp` is part of the unitary schema suite:

SCHEMA test_enum_entity_name;

TYPE simple_datum_reference_modifier = ENUMERATION OF (
line,
translation);
END_TYPE;

ENTITY line;
END_ENTITY;

END_SCHEMA;

Reading the ISO 10303-11:1994(E) document, especially the section 8.4.1 related to the ENUMERATION data type, I doubt that an entity name can be used as an item of an enumeration:
`An enumeration data type has as its domain an ordered set of names. The names represent
values of the enumeration data type. These names are designated by enumeration_ids and are
referred to as enumeration items.`

It should be reserved to the SELECT data type. Am I missing something? Is there any STEP schema that pass an entity name to an ENUMERATION data type?