Affects Version/s: Smooks v1.2.5
Fix Version/s: None
Component/s: Smooks Javabean
Number of attachments :
If you use any of the escaped charactes in an XML payload, the DOM parser will map the results correctly to a java bean. If you do the same think with SAX parser, it will escape them differently depending on if notify-builtin-refs is enabled
If you have an element <District>0001 " < > ' </District> in the XML
The DOM will map the resulting string as 0001 " < > '
The SAX will map the resulting string as 0001 " < > ' if notify-builtin-refs is of
The SAX will map the resulting string as 0001 " < > ' if notify-builtin-refs is on
It appears that SAXText will escape the string even if it is being used to map to a non XML target.
A simple example is attached