Correction for case invalid color definition to avoid considering an entity that has a number corresponding to the color field as erroneous if entity is not a color entity.
if (v[14] < 0) {
fieldent = GetCasted(IGESData_IGESEntity,IR->BoundEntity( (1-v[14])/2 ));
Color = GetCasted(IGESData_ColorEntity, fieldent);
+ //an entity that is not a color entity and has a number corresponding
+ //to the color field should not be considered erroneous
if (Color.IsNull()) {
// Sending of message : Incorrect Color Number
Message_Msg Msg34 ("XSTEP_34");