[jdom-interest] Can someone enlighten me on sockets? (was: Why does passing a document through a socket sometimes hang the parser?)

Tony Montgomery Smith tonyms at compuserve.com
Sun Feb 4 14:13:42 PST 2001


If your document is coming over the net, typically appended to an HTTP POST,
rather than from a file, you get it from a socket. The problem here is that
there is no physical EOF, so how does your software know when the data stream
has terminated?

The Xerces software excerbates this problem unless you make the changes in the
FAQ, by not passing anything until it has reached the end.








More information about the jdom-interest mailing list