-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
7.14.0, 7.15.0
-
None
Environment (Required on creation):
Tested on Camunda 7.14
Steps to reproduce (Required on creation):
Add an already formatted XML into a SPIN variable
SpinXmlElement spinXml = Spin.XML(value);
execution.setVariable ("test", spinXml);
Let's assume value is the following XML:
<test> <message>Camunda is awesome!</message> </test>
Then the value is either shown in the UI or is read by the java api using
execution.getVariable("test");
Observed Behavior (Required on creation):
The value is shown as:
<test> <message>Camunda is awesome!</message> </test>
Expected behavior (Required on creation):
<test> <message>Camunda is awesome!</message> </test>
Root Cause (Required on prioritization):
The XML is formatted again and any CR returns an empty line. When reading the XML and then inserting it again any blank line is even doubled.
Solution Ideas (Optional):
Make DomXmlDataFormatWriter prettyPrint aware and strip empty lines.
Hints (Optional):
This is the controller panel for Smart Panels app
- is related to
-
CAM-13769 Modify TransformerFactory in DomXmlDataFormatWriter
- Closed