You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ma...@swisscom.com on 2003/05/21 14:44:53 UTC
!!!XSP makes unwanted line returns when compiling on every page!!!!
I also have the problem in all the other pages! WHY? :
XSP:
String myquerya = "SELECT * FROM Processes";
myquerya += " WHERE (pc_name LIKE '%<xsp:expr>mywfname</xsp:expr>%')";
Gives (in java):
String myquerya = "SELECT * FROM Processes";
myquerya += " WHERE (pc_name LIKE '%
(mywfname) %')";
And returns the errors:
Line 1162, column 20: String not terminated at end of line.
Line 1163, column 0: ';' expected.
Line 1163, column 32: Invalid character constant.
> In my XSP page I have this :
> if (!datebox.equals("")){
> myfirstdate = "AND (pc_enddate >
'<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