forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gav...." <brightoncomput...@brightontown.com.au>
Subject RE: [jira] Commented: (FOR-492) Inconsistent Line Endings in generated sites
Date Wed, 19 Apr 2006 13:40:47 GMT


> -----Original Message-----
> From: David Crossley (JIRA) [mailto:jira@apache.org]
> Sent: Wednesday, 19 April 2006 6:11 PM
> To: dev@forrest.apache.org
> Subject: [jira] Commented: (FOR-492) Inconsistent Line Endings in
> generated sites
> 
>     [ 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 </head>^M$
>      36 <body>^M$
>      37 <div id="container">^M$
>      38 <!--+$
>      39     | start breadtrail$
>      40     +-->^M$
>      41 <div class="breadtrail">^M$

Ok, Strange how me on Windows could not see it, the $ does not show up for
me, only the ^M.

Gav...

> 
> > 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
> 
> 
> 
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.4.4/318 - Release Date: 18/04/2006



Mime
View raw message