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);
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
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
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)