[jdom-interest] JDOMException null?
arosen at silverstream.com
Mon Sep 24 11:04:18 PDT 2001
(1) Unless you already have a DOM tree built, you should use SAXBuilder
rather than DOMBuilder. It'll be way more efficient.
(2) I assume that XMLHandlerRequest is your Perl thing that calls JDOM? Can
it print a stack trace?
> -----Original Message-----
> From: jdom-interest-admin at jdom.org
> [mailto:jdom-interest-admin at jdom.org]On Behalf Of Jay Eno
> Sent: Monday, September 24, 2001 1:12 PM
> To: jdom-interest at jdom.org
> Subject: [jdom-interest] JDOMException null?
> I'm having an issue with JDOM Trying to build a Document from an
> InputStream. I'm trying to basically implement XML over HTTP using
> Jakarta Tomcat. So I have a Servlet that feeds an InputStream
> to me, and
> I in turn feed that to a DOMBuilder's build() function.
> I have a Java Test that seems to work flawlessly on the
> same box as
> the Tomcat server, but I'm trying to send across the network with a
> simple Perl script, and I keep getting a:
> JDOM Exception in XMLHandlerRequest::parseXML:: Error in
> building from stream: null
> I'm seeing the exact same InputStream near as I can tell, I'm
> overriding the (InputStream Class and comparing reads), but for some
> reason, I can't get it to work over the network. I'm fairly sure this
> isn't a perl issue, because I've done it several ways from using Perl
> modules to raw sockets, with the same results. I can send complex POST
> requests to other servers and all works well.
> Anybody have any idea why DOMBuilder would throw a
> "null"?? This is
> becomming really hard to track down. (:
> -= Jay =-
> To control your jdom-interest membership:
uraddr at yourhost.com
More information about the jdom-interest