Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 54190 invoked from network); 29 Nov 2005 22:39:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Nov 2005 22:39:15 -0000 Received: (qmail 97456 invoked by uid 500); 29 Nov 2005 22:38:52 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 97387 invoked by uid 500); 29 Nov 2005 22:38:52 -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 97363 invoked by uid 99); 29 Nov 2005 22:38:52 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2005 14:38:52 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 1B1EFCB for ; Tue, 29 Nov 2005 23:38:31 +0100 (CET) Message-ID: <1383879726.1133303910656.JavaMail.jira@ajax.apache.org> Date: Tue, 29 Nov 2005 23:38:30 +0100 (CET) From: "Ross Gardler (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_12358838 ] Ross Gardler commented on FOR-492: ---------------------------------- This issue has raised its head again when using the Forrestbot to deploy the Forrest site using windows. http://marc.theaimsgroup.com/?t=113329994200005&r=1&w=2 > 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: Minor > Fix For: 0.8-dev > > 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