You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometime between 1.2 and 1.3.7 (both versions I have tested), the MappedXMLStreamWriter fixed white-spaces and other blank chars using .trim() for text nodes. However, BadgerFishXMLStreamWriter still shows the issue.
Hi.
Sometime between 1.2 and 1.3.7 (both versions I have tested), the MappedXMLStreamWriter fixed white-spaces and other blank chars using .trim() for text nodes. However, BadgerFishXMLStreamWriter still shows the issue.
name1 name2Transforms into:
{"xml":{"$":["\n ","\n ","\n"],"field1":{"$":"name1"},"field2":{"$":"name2"}}}
It is necessary to add the check also in BadgerFishXMLStreamWriter.writeCharacters(String text):
At the beginning will change the transformation into:
{"xml":{"field1":{"$":"name1"},"field2":{"$":"name2"}}}
Thanks.
The text was updated successfully, but these errors were encountered: