[ http://issues.apache.org/jira/browse/XALANJ-1974?page=comments#action_63447 ] Brian Minchau commented on XALANJ-1974: ---------------------------------------
I am running on Windows 2000 professional. So that should be close enough. My understanding is that the input xml has this: <textarea></textarea> When you (Ari) run the code you've attached, for some reason it inserts some \r or \n (or both) between <textarea> and </textarea> in the output. Is that right? I tried a few different things, but never saw that. I am running with the latest development code that is committed to the Apache CVS server. So that is one possible difference. Ari, I've got two requests for you: 1) Run with <xsl:output indent="no" .../> in your stylesheet and let me know what comes out of the transformation for you, that way we will know if this is some strange indentation issue. 2) In the same environment as you run the Java code that runs your transformation, run this Java main, org.apache.xalan.Version, and see what gets written out, mine gives "Xalan Java 2.6.0" Thanks. > Doubles newline character > ------------------------- > > Key: XALANJ-1974 > URL: http://issues.apache.org/jira/browse/XALANJ-1974 > Project: XalanJ2 > Type: Bug > Components: Serialization > Versions: 2.6 > Environment: Windows Xp Professional O.S., Jrun 4, netBeans 3.6, sql server, > jdk 1.4.2_03 > Reporter: vaibhav kakadia > Assignee: Brian Minchau > Priority: Critical > Attachments: UtilityStylesheetTester.java, paragraph.xsl, > saxontransformed.html, transform.xml, transformed.html > > Hi, > It seems to be a strage problem. I put a text like > 1 > 2 > and saves data. When I come back it is > 1 > 2 > I again saved data and came back it is > 1 > 2 > It seems that it is unable to parse #xd;#xa; (CR-LF) into #xa; (LF). So it > increases newline character everytime. I don't know why this problem arises > but when I was using older version of Xalan set it was 2.2.0 this was not > taking place. > Please do the needful. > Vaibhav -- 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]
