Page 1 of 1

[Code Generation] Limitation to a short namespace

Posted: 30 Apr 2021, 08:14
by ftanguy
Hi,

in the project settings window and in the set project variables page, it is impossible to enter a long namespace like MyNamespace1.MyNamespace2
Is there a reason for this limitation ?

BR

Re: [Code Generation] Limitation to a short namespace

Posted: 30 Apr 2021, 09:57
by Support Team
Hi,

The text fields in the UaModeler wizard except the fields for NamespaceUri and Filename must match the pattern [A-Za-z][A-Za-z0-9_]*.
This is an implementation detail of UaModeler to avoid input values that will cause compilation errors, especially for generated code for C and C++ based SDKs.

Re: [Code Generation] Limitation to a short namespace

Posted: 30 Apr 2021, 13:37
by ftanguy
Well, it would be great if the pattern allows a longer namespace string.

BR