flowable / flowable-engine

A compact and highly efficient workflow and Business Process Management (BPM) platform for developers, system admins and business users.
https://www.flowable.org
Apache License 2.0
7.59k stars 2.54k forks source link

Move from getText() to getElementText() for XMLStreamReader #3906

Open roumn opened 1 month ago

roumn commented 1 month ago

XMLStreamReader#next() may split characters into several chunks, and if so, getText() will only return the text of the current chunk instead of the entire element if javax.xml.stream.IS_COALESCING is not set to true. Using getElementText() always returns the full text.