xml-xalan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henry Zongaro (JIRA)" <xalan-...@xml.apache.org>
Subject [jira] Commented: (XALANJ-1876) New line Problem in notepad
Date Wed, 14 Dec 2005 15:11:46 GMT
    [ 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>&#xD;&#xA;</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.


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>&#xA;</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:
For more information on JIRA, see:

To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org

View raw message