[jdom-interest] DOCTYPE Problem

Alexey Solofnenko A.Solofnenko at mdl.com
Thu Oct 31 09:21:11 PST 2002

The site can be down or there is a network problem (or proxy does not allow
direct connect or ...). You can download the file locally and set
EntityResolver to find it there.


- Alexey.



{ http://trelony.cjb.net/   } Alexey N. Solofnenko

{ http://www.inventigo.com/ } Inventigo LLC

Pleasant Hill, CA (GMT-8 usually)



-----Original Message-----
From: Jesus Barbero Rodriguez [mailto:jbarbero at quiter.com] 
Sent: Thursday, October 31, 2002 9:02 AM
To: jdom-interest at jdom.org
Subject: [jdom-interest] DOCTYPE Problem


Hello all!!

I'm a spanish developer. I have do a getaway with tomcat, jdom etc etc. I
need change the web.xml file of my webapp. I have a problem. This file has a
DocType like this: 
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">

When i try to parse the document, thow SAXException: 

org.jdom.JDOMException: Error on line 2: Entidad externa no encontrada:
<http://java.sun.com/dtd/web-app_2_3.dtd> ".: Connection refused: connect

        at org.jdom.input.DOMBuilder.build(DOMBuilder.java:278)

        at org.jdom.input.DOMBuilder.build(DOMBuilder.java:307)


I can't connect because i haven't got Internet connection. 
I need build this document and i can't do it!!!!

Please, someone can help me, please??

After a week, I haven't could solve this problem.

thanks for all

PD: I can't delete the doctype because if i do it, tomcat not open the

PD2: Sorry for my bad english :-)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20021031/4df1e67f/attachment.htm

More information about the jdom-interest mailing list