You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2024/12/11 22:10:00 UTC
[jira] [Comment Edited] (LANG-1531) escapeXml10 does not escape newline and tab characters to #xA
[ https://issues.apache.org/jira/browse/LANG-1531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17904943#comment-17904943 ]
Gary D. Gregory edited comment on LANG-1531 at 12/11/24 10:09 PM:
------------------------------------------------------------------
Doesn't this mean that if the method escapes CR and LF, all escaped strings will always be one long line?
Also, XML 1.0 5th ed. is here: https://www.w3.org/TR/xml/
was (Author: garydgregory):
Doesn't this mean that if the method escapes CR and LF, all escaped strings will always be one long line?
Also, XML 1.0 5th ed is here: https://www.w3.org/TR/xml/
> escapeXml10 does not escape newline and tab characters to #xA
> -------------------------------------------------------------
>
> Key: LANG-1531
> URL: https://issues.apache.org/jira/browse/LANG-1531
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.*
> Affects Versions: 3.8.1, 3.10
> Reporter: devson
> Priority: Major
>
> escapexml10 in StringEscapeUtils does not escape newline(line feed) and tab characters to #xA but it should escape them as specified in [https://www.w3.org/TR/xml/#sec-line-ends]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)