martinweiler opened a new issue, #2137:
URL: https://github.com/apache/incubator-kie-issues/issues/2137
In a bpmn file, when there is a `<textAnnotation>` after any node element,
inside `<process>`, the build is failing with below error:
```
Caused by: org.kie.kogito.codegen.process.ProcessCodegenException: Processes
with errors are Invalid process: 'testtextannotation.bpmn'. Found error:
org.xml.sax.SAXParseException; lineNumber: 12; columnNumber: 93;
<textAnnotation> is after an invalid element: org.jbpm.compiler.xml.Handler
at org.jbpm.compiler.xml.core.ExtensibleXmlParser.validate
(ExtensibleXmlParser.java:515)
at org.jbpm.compiler.xml.core.ExtensibleXmlParser.startElement
(ExtensibleXmlParser.java:411)
```
If `<textAnnotation>` is at the starting of `<process>` (before node
elements) then working as expected.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]