This question already has an answer here:
- Sanitizing bad XML in Java 4 answers
I have a project in Java that I need to sanitize json, html and xml data. I am using gson for json sanitation but I was wondering if what can I use for XML ? For example org.owasp.html.Sanitizers is for HTML, but can I use it to sanitize both XML and HTML.
Regards, Stefan
No comments:
Post a Comment