[Code Generation] Limitation to a short namespace

Questions regarding the use of UaModeler

Moderator: uamodeler

Post Reply
ftanguy
Full Member
Full Member
Posts: 5
Joined: 02 Apr 2021, 08:04

[Code Generation] Limitation to a short namespace

Post 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

User avatar
Support Team
Hero Member
Hero Member
Posts: 2639
Joined: 18 Mar 2011, 15:09

Re: [Code Generation] Limitation to a short namespace

Post 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.
Best regards
Unified Automation Support Team

ftanguy
Full Member
Full Member
Posts: 5
Joined: 02 Apr 2021, 08:04

Re: [Code Generation] Limitation to a short namespace

Post by ftanguy »

Well, it would be great if the pattern allows a longer namespace string.

BR

Post Reply