DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25242>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25242

sendmail logicsheet generate syntax error .java





------- Additional Comments From [EMAIL PROTECTED]  2003-12-05 15:39 -------
more specific the problem occur when they are spaces tabs or CR before or/and
after <xsp:expr></xsp:expr> element for example 
this one work 
<sendmail:attachment>
  <sendmail:param
name="object"><xsp:expr>request.get("attachment")</xsp:expr></sendmail:param>
</sendmail:attachment>

but this NOT  
<sendmail:param name="object">
 <xsp:expr>request.get("attachment")</xsp:expr>
</sendmail:param>
</sendmail:attachment>

the second snip of xml generate "request.get("attachment")" including first and
last semicolons

in body case a solution is to change (in sendmail logicsheet)
from
         _sendmail_mms.setBody(String.valueOf("$body"/>));
to
         _sendmail_mms.setBody(String.valueOf(<xsl:copy-of select="$body"/>));

Reply via email to