|
It looks like this Xalan issue is the root cause of this problem.
It looks like this xalan issue us our root cause.
Here is the previous thread that discussed this issue:
http://marc.theaimsgroup.com/?t=110468489000001 "SVN Inconsitent Line Endings" Would someone please attach an example generated file or at least a snippet to portray the problem.
Also, i don't understand Windows and its line-endings. The Description above says "most other lines have LF endings" while the ones that are generated by <xsl:comment> have CRLF endings. I would have expected that the whole file should have CRLF. Can someone explain? Raising severity to Blocker. This is a huge issue for projects that store their generated documents in Subversion.
Would someone on Windows please respond to the previous comment. As far as I can see, all lines on Windows from a generated .html file all end with CRLF.
Also I see no difference in the way comments are treated as previously mentioned. Example code from an index.html file. Oops, sorry cant paste code - the ^M gets converted to a CRLF !!, I'll attach a file instead. This Wikipedia explains the difference between the 3 main OS versions and their handling. I blame it on CP/M myself :) I wonder how those on other OS will be able to check this anyway, a screen shot may be needed ?
Forgot to mention that link : http://en.wikipedia.org/wiki/Line_break Thanks. I am on UNIX and can see the problem line-endings in your Windows-generated attachment, e.g. at lines 38 and 39 ...
35 </head>^M$ 36 <body>^M$ 37 <div id="container">^M$ 38 <!--+$ 39 | start breadtrail$ 40 +-->^M$ 41 <div class="breadtrail">^M$ Fixed the Issue Description which had reversed discussion about the line-endings, i.e. changed "CRLF endings whilst most other lines have LF endings" to "LF endings whilst most other lines have CRLF endings".
Attachment
Added workaround using Ant fixcrlf to post-process *.html after 'forrest site'. Does not address generated pages in 'forrest run' or 'forrest war' mode.
See also - http://marc.theaimsgroup.com/?l=forrest-dev&m=115606562031148&w=2
where I altered the workaround for *.css on my Windows system to be able to publish the site. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
http://marc.theaimsgroup.com/?t=113329994200005&r=1&w=2