cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Upayavira">
Subject Re: WritableSource output Cocoon 2.0.4
Date Tue, 18 Mar 2003 00:27:46 GMT
> Well, right now the way I have it setup is pretty simple,  I have an
> xsp page that generates an email message(I made up some simili-MIME
> xml tags) then this goes thru an XSL file that transforms the output
> into a mime complient mail message, this is the input my MailSource
> receives, it implements a OutputStream and what I do is simply send
> the message when the close() method of the OutputStream is called,
> here is the source:

The sourceWritingTransformer in 2.1 is quite different to the one in 2.0.4. I don't 
know whether it is 'back-compatible', or whether you'd have to upgrade your app 
to 2.1. You could at least give it a go. From looking at the code, I see lots of 
message="some kind of text "+ pe, where pe is a processingException, which 
means that your exception text will make it into the ougoing SAX stream, which is 
what you want.

Alternatively, hack the 2.0.4 SourceWritingTransformer to do what you want. 

Hope that doesn't cause too many headaches!

Regards, Upayavira

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message