RE: Cocoon, XML:DB and custom generator problem

2004-05-02 Thread Christian Rosenberger
Hi! The solution, Joerg suggested, works fine :-) Thanks a lot! Christian Joerg Heinicke wrote: You might need to put another ContentHandler into the pipe that just ignores startDocument() and endDocument(): ContentHandler myContentHandler = new MyContentHandler(this.contentHandler);

RE: Cocoon, XML:DB and custom generator problem

2004-04-30 Thread Christian Rosenberger
Hello! Joerg Heinicke wrote: So I have two results in my ResourceSet. (one for each user). I am browsing these results and for each XMLResource in the ResourceSet I call the getContentAsSax method. The result is a nonvalid XML document with two ?xml.. tags: Is only the XML declaration

RE: Cocoon, XML:DB and custom generator problem

2004-04-30 Thread Christian Rosenberger
Hello! Joerg Heinicke wrote: So I have two results in my ResourceSet. (one for each user). I am browsing these results and for each XMLResource in the ResourceSet I call the getContentAsSax method. The result is a nonvalid XML document with two ?xml.. tags: Is only the XML declaration

Re: Cocoon, XML:DB and custom generator problem

2004-04-29 Thread Joerg Heinicke
On 28.04.2004 17:58, Christian Rosenberger wrote: The result is in a XMLResource instance. Part of my custom generator code: this.contentHandler.startDocument(); for (long i = 0; i result.getSize(); i++) { resource = (XMLResource)