[
https://issues.apache.org/jira/browse/LANG-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607885#action_12607885
]
Joerg Schaible commented on LANG-66:
------------------------------------
Note, that the valid charset is different for XML 1.1:
http://www.w3.org/TR/2006/REC-xml11-20060816/#charsets
Therefore escapeXml should be overloaded with something like:
{code:java}
class StringEscaper {
String static escapeXml() {
return escapeXml(XmlVersion.XML_1_0);
}
}
{code}
and the real implementation should take both specs into account.
> [lang] StringEscaper.escapeXml() escapes characters > 0x7f
> ----------------------------------------------------------
>
> Key: LANG-66
> URL: https://issues.apache.org/jira/browse/LANG-66
> Project: Commons Lang
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: Operating System: All
> Platform: All
> Reporter: Sandor Vroemisse
> Fix For: 3.0
>
>
> StringEscaper.escapeXml() escapes characters > 0x7f. That's both undesired and
> undocumented.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.