cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: XSP compiled file (.JAVA) makes unwanted line returns
Date Wed, 21 May 2003 22:29:18 GMT
Hello Maxime,

what's your Cocoon version? I had a look into Cocoon 2.1's xsp.xsl and 
couldn't find where the line break could come from. Can you send the 
complete XSP?

Joerg

Maxime.Gheysen@swisscom.com wrote:
> In my XSP page I have this :
>  if (!datebox.equals("")){
>   myfirstdate = "AND (pc_enddate &gt; '<xsp:expr>datebox</xsp:expr>')";
>  }
> 
> and in the .JAVA page I have this :
> if (!datebox.equals("")) {
>  myfirstdate = "AND (pc_enddate > '
>   (datebox) ')";
> }
> So that causes the error :
> Line 1162, column 24:  String not terminated at end of line.
> Line 1163, column 0:  ';' expected.
> Line 1163, column 34:  Invalid character constant.
> 
> How can I do to write : myfirstdate = "AND (pc_enddate > '(datebox)')";
> on one line?
> Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message