forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Brondsema <d...@brondsema.net>
Subject Re: cvs commit: xml-forrest/src/resources/stylesheets text2document.xsl
Date Fri, 18 Jul 2003 12:59:24 GMT
Quoting Stephan Michels <stephan@apache.org>:
> On Fri, 18 Jul 2003, Dave Brondsema wrote:
> 
> > <map:generate type="text2xml" src="content/{1}{2}.txt" />
> > should be
> > <map:generate type="text2xml" src="content/xdocs/{1}{2}.txt" />
> >
> >
> > Also, I changed my text file line endings to unix format, but it still
> puts
> > &#13; at the end of each line.  I am running forrest on windows.
> 
> This is intentional, the TextGenerator replace every line ending
> by System.getProperty("line.separator").
> 
> Cause this troubles?!
> 
> Stephan.
> 

The HTML that is generated is like this:

  [javadoc] Constructing Javadoc information...&#13;
  [javadoc] Building tree for all the packages and classes...&#13;
  [javadoc] Building index for all the packages and classes...&#13;

I think it's okay for TextGenerator to do the line ending replacement, but
somewhere in the pipeline the CR turns into &#13; and that needs to be fixed.

-- 
Dave Brondsema
dave@brondsema.net
http://www.brondsema.net - personal
http://www.splike.com - programming

Mime
View raw message