[jdom-interest] XML through socket and URI problem

Elliotte Rusty Harold elharo at metalab.unc.edu
Wed Sep 1 06:33:08 PDT 2004

At 3:21 PM -0300 8/30/04, Flávio Marim wrote:

>Like suggested in forum archives and it worked fine.
>The problem is that I'll never have a stored xml file. It comes from a
>socket connection so I can't use the (2) method.

The socket comes from somewhere. What's the URL 
of the socket you're reading? Pass that URL as 
the second argument to build, As long as the 
protocol is http or ftp or something else Java 
supports you should be fine.

   Elliotte Rusty Harold
   elharo at metalab.unc.edu
   Effective XML (Addison-Wesley, 2003)

More information about the jdom-interest mailing list