--
You received this message because you are subscribed to the Google Groups "Smooks Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smooks-user+unsubscribe@googlegroups.com.
To post to this group, send email to smook...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/smooks-user/a1654d00-af48-456e-a66a-8127d83a584d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Smooks Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smooks-user+unsubscribe@googlegroups.com.
To post to this group, send email to smook...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/smooks-user/7f809d9f-0947-4be0-bcdc-d1a525475a3e%40googlegroups.com.
That's actually what I mean. The fact that the SAX filter is producing entity references is actually right. If something after that step in the process wants to output that data in a different format (in your case JSON), then it's the responsibility of that something to remove entities or other that are not right for that format. I hope I'm making sense.So ... you need some way of stripping the entities before they make it into the JSON. I think you need to talk to your wso2 contacts about that.
On 25 January 2017 at 11:27, Rakshitha Shetty <srakshit...@gmail.com> wrote:
Tom Fennelly,
Thanks for your response.
No it is escaping the xml entities in the generated JSON.
like i have a payload which says user first name is tina's
the json output gives it as { first_name: tina&s }
this is nothing to do with the JSON generation.
json generation is fine in places where i am not using a sax filter
I went through few more articles that said SAX filter would escape the xml characters.
below links are for your reference
http://stackoverflow.com/questions/26265389/how-do-i-stop-smooks-from-escaping-ampersand
http://milyn.996300.n3.nabble.com/How-do-I-prevent-smooks-from-escaping-ampersands-td8930.html
and finally i have not got in touch with wso2 people yet.
--
You received this message because you are subscribed to the Google Groups "Smooks Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smooks-user...@googlegroups.com.
To post to this group, send email to smook...@googlegroups.com.