xml-xalan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jess Sightler (JIRA)" <xalan-...@xml.apache.org>
Subject [jira] Commented: (XALANJ-1876) New line Problem in notepad
Date Tue, 13 Dec 2005 16:52:47 GMT
    [ http://issues.apache.org/jira/browse/XALANJ-1876?page=comments#action_12360315 ] 

Jess Sightler commented on XALANJ-1876:
---------------------------------------

Is there any way to reopen this issue?

The "solution" that has been offered here is inappropriate.

Suppose I have three XSLs on Windows:

XSL1:
<xsl:text>&#xD;&#xA;</xsl:text>

XSL2:
<xsl:text>&#xD;</xsl:text>

XSL3:
<xsl:text>&#xA;</xsl:text>

In all cases, the output is TEXT and in order to insure consistent behaviour, I have hard-coded
my EOL like this.  On Windows, the output will be:
XSL1 - Ouptuts 0d0a
XSL2 - Outputs 0d
XSL3 - Outputs 0d0a

Why should the third case be modified at all when my output method is not XML?  Changing the
global setting is similarly bad, as this can affect everything.

I understand normalizing the case of:
<xsl:text>
</xsl:text>

But my explicit characters shouldn't be normalized like this.


> 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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


Mime
View raw message