Syntax Error: Object name with space characters

0 votes
asked Dec 18, 2020 in Bug by anonymous
retagged Dec 20, 2020

`class "Name with space"` works.

`object "Name with space" as Obj` works.

`object "Name with space"` doesn't work.

Is there any reason not to support the last case?

2 Answers

0 votes
answered Jun 29, 2022 by anonymous
I'm running in the same error. Is there a solution?
commented Jun 29, 2022 by The-Lu (74,900 points)

Yes, by define an alias, as:

@startuml
object "Name with space" as Obj
@enduml

Regards.

0 votes
answered Nov 17 by The-Lu (74,900 points)
edited Nov 17 by The-Lu

Hello A.,

FYI that is now fixed and implemented on v1.2024.8:

- Thanks PlantUML team for your work.

Ref.:

...