You have proven the problem is not in the custom DOMTransformer. Warrell suggests using the Request Generator.
I generate form data using the Server Pages Generator with an XSP. I wrote this when I was very new to Cocoon. It works, but I would be very interested in a debate about the best algorithm for reading POST data. http://svn.apache.org/repos/asf/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/form/post.xsp Instructions: http://svn.apache.org/repos/asf/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/form/module.xml If you need more assistance, start a new thread with a more appropriate subject to interest non-Java-writing ML readers scared by the current title. solprovider On 11/19/07, Jean-Claude Vogel <[EMAIL PROTECTED]> wrote: > Thank you, effectively it was just a mistake during my drag and drop to > write my email. > > The true code is : > <map:pipeline> > <map:match pattern="tentative"> > <map:generate type="stream"> > <map:parameter name="defaultContentType" > value="text/xml"/> > </map:generate> > <map:transform type="testTransformer" /> > <map:serialize type="xml"/> > </map:match> > </map:pipeline> > > My sitemap contains other pipelines which I don't show here, that's why I > have a matcher. > > I tried to remove the transformer to keep just : > <map:pipeline> > <map:match pattern="tentative"> > <map:generate type="stream"> > <map:parameter name="defaultContentType" > value="text/xml"/> > </map:generate> > <map:serialize type="xml"/> > </map:match> > </map:pipeline> > > Effectively, I have the same problem : no XML stream in the http response. > Like said before, I am sure that the body of my incoming HTTP request > contains an XML stream (when I let the "testTransformer" in the pipe I can > log the incoming XML stream). > > I am not able to understand where is my mistake and why the HTTP response > body stays empty. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]