[ https://issues.apache.org/jira/browse/VELOCITY-910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16788918#comment-16788918 ]
Michael Osipov commented on VELOCITY-910: ----------------------------------------- I have expressed my opinion on the mailing list and I think that this should be targeted for 3.0. > 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 > Priority: Major > > 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