[
https://issues.apache.org/jira/browse/LANG-260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469483
]
Henri Yandell commented on LANG-260:
------------------------------------
This went in 2.2, however LANG-287 is going in 2.3 - and if you check the
revision numbers you'll see that this revision number is much lower than the
other. Not to say LANG-287 hasn't been undone, but it wasn't this issue that
did it as this was resolved before LANG-287 was even created.
> StringEscapeUtils should expose escape*() methods taking Writer argument
> ------------------------------------------------------------------------
>
> Key: LANG-260
> URL: https://issues.apache.org/jira/browse/LANG-260
> Project: Commons Lang
> Issue Type: Improvement
> Environment: N/A
> Reporter: Norval Hope
> Fix For: 2.2
>
>
> StringEscapeUtils.escapeXML(String) is the only exposed variant, but the
> package private Entities.XML class it uses under the covers has a variant
> taking a Writer. The StringEscapeUtils.escapeXML(Writer, String) variant
> would be much more efficient when incrementally escaping values and adding
> them one-by-one and could seemingly be exposed with very little effort. Ditto
> for the unescapeXML() case, and presumably other styles of escape/unescape
> (like HTML) that use the Entities class under the covers.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]