[
https://issues.apache.org/jira/browse/XALANJ-2197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473538
]
Mike Brown commented on XALANJ-2197:
------------------------------------
I am noticing this, too. To better summarize the problem: when using Xalan-J on
Windows, when serializing to stdout or a file, newlines in comments created
with xsl:comment are emitted as LF only, not CR+LF like the newlines in the
rest of the file.
> newline in xsl:comment
> ----------------------
>
> Key: XALANJ-2197
> URL: https://issues.apache.org/jira/browse/XALANJ-2197
> Project: XalanJ2
> Issue Type: Bug
> Components: Serialization
> Affects Versions: 2.7
> Environment: Windows
> Reporter: Joanne Tong
> Assigned To: Brian Minchau
>
> For the following stylesheet:
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
> <xsl:template match="/">
> <LRE><xsl:text>hello 
 bye
> </xsl:text></LRE><xsl:comment><xsl:text>hello 
 bye
> </xsl:text></xsl:comment>
> </xsl:template>
> </xsl:stylesheet>
> The first newline and the second newline in the output are different. They
> should be the same for any operating environment.
--
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]