Claude Brisson created VELOCITY-910:
---------------------------------------

             Summary: Deprecation of org.apache.commons.lang3.StringEscapeUtils
                 Key: VELOCITY-910
                 URL: https://issues.apache.org/jira/browse/VELOCITY-910
             Project: Velocity
          Issue Type: Improvement
    Affects Versions: 2.1.x
            Reporter: Claude Brisson
            Assignee: Claude Brisson


The org.apache.commons.lang3.StringEscapeUtils version has been deprecated in 
favor of org.apache.commons.text.StringEscapeUtils.

StringEscapeUtils is used in three reference insertion event handlers:

* org.apache.velocity.app.event.implement.EscapeXmlReference.java
* org.apache.velocity.app.event.implement.EscapeHtmlReference.java
* org.apache.velocity.app.event.implement.EscapeJavaScriptReference.java

Those three filters are mainly reference insertion examples and aren't really 
usable in a real world situation.

We're considering either making commons-text an optional dependency, or adding 
standalone basic escaping methods to them.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org

Reply via email to