<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
You must develop your own EntityResolver to be used during the XML
parsing.<br>
<a class="moz-txt-link-freetext"
 href="http://www.ibm.com/developerworks/library/x-tipent.html">http://www.ibm.com/developerworks/library/x-tipent.html</a><br>
<br>
To make it easier, the following Java project already contains the
proper DTD and custom entity resolver which you'll just have to use<br>
<a class="moz-txt-link-freetext"
 href="http://code.google.com/p/java-xhtml-cache-dtds-entityresolver/">http://code.google.com/p/java-xhtml-cache-dtds-entityresolver/</a><br>
<br>
Regards,<br>
Olivier Jaquemet<br>
<br>
Renaud guezennec wrote:
<blockquote cite="mid:1250172807.10726.31.camel@R4P17" type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="GENERATOR" content="GtkHTML/3.26.0">
Hi all,<br>
  <br>
I'm trying to use Jdom in my software. When it tries to build a Jdom
document, it receives a 503 error.  My software parses a lot of page
from w3.org and the error occurs when jdom tries to read the DTD file. <br>
(see :java.io.IOException: <font color="#ff0000">Server returned HTTP
response code: 503 for URL:</font> <a moz-do-not-send="true"
 href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd%29">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd)</a><br>
The 503 error is expected, I mean the w3c returns this http response to
reduce the traffic. <br>
I'm wondering if there is a way to prevent jdom from asking the dtd
file ? or you may know a way to get around this problem.<br>
  <br>
Regards<br>
  <table cellpadding="0" cellspacing="0" width="100%">
    <tbody>
      <tr>
        <td>
Renaud GUEZENNEC<br>
        <a moz-do-not-send="true"
 href="http://renaudguezennec.homelinux.org/">http://renaudguezennec.homelinux.org/</a><br>
        <br>
        <br>
        </td>
      </tr>
    </tbody>
  </table>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
To control your jdom-interest membership:
<a class="moz-txt-link-freetext" href="http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com">http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Olivier Jaquemet <a class="moz-txt-link-rfc2396E" href="mailto:olivier.jaquemet@jalios.com">&lt;olivier.jaquemet@jalios.com&gt;</a>
Ingénieur R&amp;D Jalios S.A.
Tel: 0970 461 480
<a class="moz-txt-link-freetext" href="http://www.jalios.com/">http://www.jalios.com/</a>
<a class="moz-txt-link-freetext" href="http://support.jalios.com/">http://support.jalios.com/</a>
</pre>
</body>
</html>