[jdom-interest] Ignoring the prolog

Jason Hunter jhunter at acm.org
Wed Nov 28 17:42:08 PST 2001


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