[jdom-interest] XMLOutputter Problem?

John L. Webber - intraWeb IT GmbH John.Webber at intraweb.de
Wed Aug 23 06:51:36 PDT 2000


Thanks Jools -- your suggestion worked fine. I feel rather sheepish
about my mistake; I never had occasion to use PipedStreams before, and I
wasn't able to find much documentation about them.




Jools Enticknap wrote:
> 
> Hi John
> 
> Perhaps your problem is that there is no-one reading on the other end of
> the
> pipe you have just created ?
> 
> Create the thread which will read the pipe **before** you call
> xmlOut.output()
> and it might just work.
> 
> --Jools
> 
> "John L. Webber - intraWeb IT GmbH" wrote:
> >
> > I'm having a problem using XMLOutputter in connection with a pair of
> > PipedStreams. Basically what I'm trying to do is convert the output to a
> > string which I then display in a separate frame.
> >
> > The problem seems to occur when my JDOM document exceeds a minimum size.
> > If the base XML file is only 12 lines or so, there's no problem, but
> > with the file shown below which is somewhat longer, XMLOutputter seems
> > to freeze indefinitely.
> 
> >
> > Has anyone run into a similar problem? I checked the list archives to no
> > avail.
> >
>> (code snipped out of embarrasment)

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
intraWeb Information Technologies GmbH
John L. Webber, Software Development
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Peter-Henlein-Strasse 28-30, 85540 Haar/Munich, Germany
Tel.:  +49 89 462 385 0     (switchboard)
Tel.:  +49 89 462 385 38    (direct)
Fax:   +49 89 462 385 29
mailto:John.Webber at intraWeb.de
http://www.intraWeb.de
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the jdom-interest mailing list