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
8k stars 2.62k forks source link

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

Open roumn opened 5 months ago

roumn commented 5 months 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.