With the publication of PlantUML release 1.2023.2 some of syntax rules for UML diagrams have become more strict. Specifically, a package must be defined in the PlantUML code before defining any notes associated with that package. See PlantUML issue #1449.
This syntax change results in UML diagrams generated using the 'uml' format option of pyang and using the default UML options to cause a syntax error when input to the PlantUML diagram generator using a release greater or equal to 1.2023.2.
The specific problem results from the note containing annotations for the module which is created on line 550 in uml.py and which occurs before the package representing the module is created on line 582 in uml.py.
With the publication of PlantUML release 1.2023.2 some of syntax rules for UML diagrams have become more strict. Specifically, a package must be defined in the PlantUML code before defining any notes associated with that package. See PlantUML issue #1449.
This syntax change results in UML diagrams generated using the 'uml' format option of pyang and using the default UML options to cause a syntax error when input to the PlantUML diagram generator using a release greater or equal to 1.2023.2.
The specific problem results from the note containing annotations for the module which is created on line 550 in uml.py and which occurs before the package representing the module is created on line 582 in uml.py.