Association class with namespace

0 votes
asked Feb 15, 2021 in Bug by myatmin (160 points)

Association class with namespace showing as syntax error.
version: 1.2021.01

@startuml
set namespaceSeparator ::
namespace A {
    class A1{
    }
}
namespace B {
    class B1{
    }
    class B2{
    }
    B1 -- B2
}
(B::B1,B::B2) - A::A1
@enduml

commented May 9, 2025 by The-Lu (89,080 points)

Hello M.,

  • Could you use another namespace separator?
@startuml
set namespaceSeparator .
namespace A {
    class A1{
    }
}
namespace B {
    class B1{
    }
    class B2{
    }
    B1 -- B2
}
(B.B1,B.B2) - A.A1
@enduml

Regards,
Th.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...