[ http://issues.apache.org/jira/browse/XALANJ-1876?page=comments#action_12360421 ]
Henry Zongaro commented on XALANJ-1876: --------------------------------------- A correction to what Brian wrote in <http://issues.apache.org/jira/browse/XALANJ-1876#action_12360315>. For <xsl:text>
</xsl:text> no end of line normalization will occur - that normalization does not apply to character references. Jess wrote in <http://issues.apache.org/jira/browse/XALANJ-1876#action_12360315> that the following two instructions should not be treated the same way. <xsl:text> </xsl:text> <xsl:text>
</xsl:text> However, the XML parser that parses the stylesheet is required to apply end of line normalization after the first <xsl:text> tag, so the content of that xsl:text instruction is just a line feed character. The XSLT processor has no way of distinguishing between the two cases. > New line Problem in notepad > --------------------------- > > Key: XALANJ-1876 > URL: http://issues.apache.org/jira/browse/XALANJ-1876 > Project: XalanJ2 > Type: Bug > Components: transformation, Xalan-interpretive > Versions: 2.0.0 > Environment: Operating System: Other > Platform: All > Reporter: Ranjan Kumar > Assignee: Xalan Developers Mailing List > Fix For: 2.7 > Attachments: test.xml, text.xsl > > I have the following line at the end of my each output line to make the new > line > (<xsl:text>
</xsl:text>). I am making an txt output file. When I open > that > file with textpad, word pad etc. everything looks okay. But when I open this > file in notepad I see the new line character at the end of each line. Also > this > new line looks like does not work and all is mess. > I will really appreciate any help on this as I have to complete this for my > deliverable soon. > Thanks, > Ranjan -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
