Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 74071 invoked from network); 19 Apr 2006 10:12:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Apr 2006 10:12:20 -0000 Received: (qmail 69758 invoked by uid 500); 19 Apr 2006 10:12:20 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 69696 invoked by uid 500); 19 Apr 2006 10:12:18 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 69681 invoked by uid 99); 19 Apr 2006 10:12:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Apr 2006 03:12:18 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Apr 2006 03:12:18 -0700 Received: from brutus (localhost.localdomain [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A39C27142D5 for ; Wed, 19 Apr 2006 10:11:17 +0000 (GMT) Message-ID: <9754115.1145441477651.JavaMail.jira@brutus> Date: Wed, 19 Apr 2006 10:11:17 +0000 (GMT+00:00) From: "David Crossley (JIRA)" To: dev@forrest.apache.org Subject: [jira] Commented: (FOR-492) Inconsistent Line Endings in generated sites MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/FOR-492?page=comments#action_12375089 ] David Crossley commented on FOR-492: ------------------------------------ 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 ^M$ 36 ^M$ 37
^M$ 38 ^M$ 41
^M$ > Inconsistent Line Endings in generated sites > -------------------------------------------- > > Key: FOR-492 > URL: http://issues.apache.org/jira/browse/FOR-492 > Project: Forrest > Type: Bug > Components: Core operations > Versions: 0.7 > Environment: Windows (with or without CYGWIN) > Reporter: Ross Gardler > Priority: Blocker > Fix For: 0.8-dev > Attachments: index.html > > Sites generated by Forrest have inconsistent line endings when created on a Windows platform. > I did a little testing, here's what I have discovered so far: > > - any file that is processed by XSLT has the line endings problem > - on investigating one such file (index.html) I discovered that the generated comments from site2xhtml.xsl (such as breadtrail comment) have CRLF endings whilst most other lines have LF endings. > > I'm running on Windows, and get the same results whether I run under > CYGWIN or DOS. > > To reproduce run "forrest site" in any site and check out the generated docs in build/site. > This appears to a result of the XSLT transformations. xsl:comments retain the line endings contained in the XSL file, whilst other line endings are set to the environment default. > Is there a way to tell the XSLT transformer what line endings to use? -- 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