[jdom-interest] Ignoring the prolog
travis at thinkvirtual.com
travis at thinkvirtual.com
Wed Nov 28 21:28:33 PST 2001
Yes, i realize that, but i'm asking if there is a way to ignore it.
Ex of content:
<qstat>
<server name="whatever">
etc...
No <?xml version="1.0"?> to start it off..
Travis
---- Original Message ----
From: Jason Hunter <jhunter at acm.org>
Sent: 2001-11-28 18:42:08.0
To: travis at thinkvirtual.com
Subject: Re: [jdom-interest] Ignoring the prolog
That's a parser error, not a JDOM error. Either your content is
malformed (you didn't send it in so we can't know) or your parser is
broken.
-jh-
travis at thinkvirtual.com wrote:
>
> Is there any way to ignore the prolog? I am getting xml without a prolog and getting the following error:
>
> org.jdom.JDOMException: Error in building: Content is not allowed in prolog.
> Root cause: org.xml.sax.SAXException: Content is not allowed in prolog.
>
> So i want to skip this error.
>
> Any ideas?
>
> Travis Reeder
> Chief Software Architect
> ThinkVirtual
>
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
More information about the jdom-interest
mailing list