Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
NIGHTLY
-
None
Description
Usage of TextFileDataSource causes the data to be parsed as XML. Therefore, characters having a special meaning, such as ampersands, will trigger parsing errors. This has significant impact on XSLTMediator when the output of the transformation is text data:
- When the volume of data is below the BYTE_ARRAY_SIZE threshold, the output is used to construct an OMText object directly and is not parsed as XML.
- When the volume is above the threshold, TextFileDataSource is used and the output is parsed as XML.
Therefore transformations that work for small messages may suddenly fail for larger messages.