Embedding in interface note fails

+1 vote
asked Apr 10 in Bug by boshka (2,660 points)
edited Apr 10 by boshka

Can this be fixed? Please have a look:

http://www.plantuml.com/plantuml/uml/JSuzQiKm40JWMZh5u5uNC45O9YdIfOzIoDOw4TWhHzfKmdUFtm-FjzN2nmmpL0b5_hPLutwIP2MyRHF5cFWRIov8B5IMC1Cu2s49QQtwaPZpjcSc5dHZXr0necbrQAsUn5t5eIc56uvuCPynr1-ANyR2zN0VxvvVIIxrlUVMF0TZfxxGh-V966l3-TVTyt5urWDnF9V_0m00

The failing code is:

@startuml

title Embedding for interface note fails

component "B" as B {

}

component "A" as A {  

}

B <-[dashed]-> A: API\nDetails:\n{{\na->b:req\nb-->>a:resp\n}}\n

@enduml

1 Answer

0 votes
answered Apr 11 by plantuml (198,780 points)
Thanks for the report.

This should be fixed in last beta http://beta.plantuml.net/plantuml.jar

Tell us if it's not working for you !
commented Apr 12 by boshka (2,660 points)
edited Apr 12 by boshka
Ok, the beta works fine for pure code:

A <- B: test AB\n{{\n\nC->D: test CD\n}}\n

but still fails for an import construction:
A <- B: test AB\n{{\n\n!include test.iuml\n}}\n

as follows:
!include test.iuml
Syntax Error?

In production:
http://www.plantuml.com/plantuml/uml/ZSwn3e90383X_PwYJap8Ren1uJ5kwS4PBvQUeIKCbtjt3yBWwDAaNz8_RKLnrcKYCyJf4zcp0W9A6Sda7tGRkXrDKwrnVWkiGL_Wl6BL68Hh3Uu2waNX_h2SakMkllK7TRtbd2rlrwA129uOw8_6AV10o-XtFOVowX5gFOzb-m80
...