[jdom-interest] Hi Again
Szegedi, Attila
szegedi at scriptum.hu
Wed Jun 27 00:08:48 PDT 2001
For an idea on how to create an appropriate EntityResolver, study
org.apache.tomcat.util.xml.XmlMapper and
org.apache.tomcat.context.WebXmlReader.
Attila.
> -----Original Message-----
> From: jdom-interest-admin at jdom.org
> [mailto:jdom-interest-admin at jdom.org]On Behalf Of Jason Hunter
> Sent: Wednesday, June 27, 2001 7:35 AM
> To: Peter Barraud
> Cc: Jdom
> Subject: Re: [jdom-interest] Hi Again
>
>
> > Well, I am using tomcat 3.2.2, I wanted to load one of the
> web.xml files
> > using the SAXBuilder, but I get this error:
> > "org.jdom.JDOMException: Error in building: Operation timed
> out: no further
> > information"
> > what I figured is that there is a DOCTYPE declaration in
> this file that
> > appears to be causing the error. This is the web.xml file
> that I used. When
> > I removed the DOCTYPE declaration everything worked fine.
> Any suggestion
> > would be really welcome
>
> Sounds like Xerces is trying to contact java.sun.com to get the DTD
> (yes, it does this even if validation is off) and is unsuccessful for
> some reason, like you have a firewall. You can use an
> EntityResolver in
> the builder to avoid this issue.
>
> -jh-
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/yo
> uraddr at yourhost.com
>
More information about the jdom-interest
mailing list