Invalid Transformation Configuration
In this document, we will use the information from the actual root cause analysis to make a generic view that can be used if you run into the same or a similar problem in the future. Finally, the document will describe the situation, the problem, the analysis, and the result.
Should you have any questions, please get in touch with academy@emagiz.com.
1. Situation
The standard eMagiz functionality is not working with regard to transforming an XML message to JSON. Some lines in the XSLT are not recognised.
2. Problem
The problem in this case was that the transformation does not work without the correct configuration for selecting multiple inputs for a single output with data type 'number'.
3. Analysis
3.1 Reproduction
The flow was rebuilt to reproduce the problem. Here, the same problem occured.
3.2 Analysis
Taking a closer look at the XSLT, it is found that multiple number outputs have multiple inputs for each single output. Without using the correct transformation of this data, this does not work.
4. Result
Once the transformation is adapted to have one (number) input for each (number) output, the transformation will work. When multiple inputs are necessary per output logic should be added to ensure the transformation works.