cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@apache.org>
Subject Re: [BLOCKER] SQLTransformer bug 1594 - cause found
Date Wed, 02 Nov 2005 18:20:17 GMT

On 2 Nov 2005, at 18:11, Jeremy Quinn wrote:

> I can see two solutions to this bug :
>
> 1. remove the .trim() from the TextRecorder.getText() method, but I  
> do not know if something else relies on this.
>
> 2. Treat SQLTransformer.startSubstituteValueElement (and probably  
> startAncestorValueElement as well) as a special case, and always  
> add a space to the preceding text.
>
>
> WDYT ?


I suppose another option would be to override  
o.a.c.transformation.AbstractSAXTransformer.endTextRecording in  
SQLTransformer, with a call to an alternative TextRecorder.getAllText 
() method.

regards Jeremy
Mime
View raw message