cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: DO NOT REPLY [Bug 25242] - sendmail logicsheet generate syntax error .java
Date Sat, 06 Dec 2003 08:52:42 GMT
I had no look into the code, but what about applying the particular 
template only to node()[normalize-space()]? Or copying only 
$body[normalize-space()] if $body is a node set?

Joerg

On 06.12.2003 09:23, gounis@osmosis.gr wrote:
> the produced java code look like 
> 
> ("
> 
> "
> 
> +
> " " 
> +
> body.toString() 
> 
> +
> " 
> 
> "
> 
> )
> 
> normalize space maybe is not the solution
> 
> but just make it work because then the produced code look like
> 
> (" " + "" body.toString + "")
> 
> 
> --stavros
> 
> On Fri, 5 Dec 2003, Vadim Gritsenko wrote:
> 
> 
>>bugzilla@apache.org wrote:
>>
>>
>>>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
>>>
>>>gounis@osmosis.gr changed:
>>>
>>>          What    |Removed                     |Added
>>>----------------------------------------------------------------------------
>>>         Component|sitemap components          |general components
>>>
>>>
>>>
>>>------- Additional Comments From gounis@osmosis.gr  2003-12-05 15:43 -------
>>>wrong copy paste in  previous post 
>>>
>>>in BODY case a solution is to change (in sendmail logicsheet)
>>>from
>>>        _sendmail_mms.setBody(String.valueOf(<xsl:copy-of select="$body"/>));
>>>to
>>>        _sendmail_mms.setBody(String.valueOf(<xsl:copy-of
>>>select="normalize-space($body)"/>));
>>> 
>>>
>>
>>No, IIRC, normalize-space should not be used there. Problem is somewhere 
>>else.
>>
>>Vadim


Mime
View raw message