Exo.social.component.xmlprocessor is a project mainly written in Java, it's free.
eXo Social: XML Processor
A processor library for filtering a string text input (html, xml, bad words...) by applying defined rules.
How to build
How to use
Project links
This project is adopted into eXo Social code base http://svn.exoplatform.org/projects/social/branches/1.2.x/component/common/src/main/java/org/exoplatform/social/common/xmlprocessor/