IBM Support

Can I add a full stop / period character to a model element name?

Troubleshooting


Problem

In IBM Rational Rhapsody, you want to add a "." character to a model element name, for example: "My.Class"

Symptom

When you rename a model element to include a "." character, you see an error message such as "Name My.Class is illegal for element of type Class"

Cause

Model elements that result in, or contribute to, generated code cannot include a "." character in the name as this will interfere with code generation and compilation. Only model elements that do not, such as Object Model Diagrams, are allowed to contain this character in the name.

Even if you edit the property General::Model::NamesRegExp to include the this character in element names, Rhapsody will still not allow it.

Resolving The Problem

Do not use, or plan to use, the full stop / period character in model element names.

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.0;8.0.1;8.0.2;8.0.3;8.0.4;8.0.5;8.0.6;8.1;8.1.1;8.1.2;8.1.2.1;8.1.3;8.1.4;8.1.5;8.2;8.2.1;8.3","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21994060