UPD: I added this:

/    public String getAllText() {
        return this.buffer.toString();
    }/

into the TextRecorder.java, and this:

/    public String endTextRecording()
    throws SAXException {
        sendEndPrefixMapping();

        TextRecorder recorder = (TextRecorder) removeRecorder();
        String text = recorder.getAllText();
        if (getLogger().isDebugEnabled()) {
            getLogger().debug("End text recording. Text=" + text);
        }
        return text;
    }/

into the SQLTransformer.class. After that I recompiled
cocoon-databases-impl-1.0.0.jar and cocoon-pipeline-impl-1.0.0.jar, and now
it works - spaces are not trimmed in substitute and ancestor variables.

Don't know, was it exactly right thing to do, but it works for now...



--
View this message in context: 
http://cocoon.10839.n7.nabble.com/BLOCKER-SQLTransformer-bug-1594-cause-found-tp28461p57549.html
Sent from the Cocoon - Dev mailing list archive at Nabble.com.

Reply via email to