Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 3729 invoked from network); 9 Nov 2005 17:52:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Nov 2005 17:52:14 -0000 Received: (qmail 61612 invoked by uid 500); 9 Nov 2005 17:52:09 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 61600 invoked by uid 500); 9 Nov 2005 17:52:09 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 61588 invoked by uid 99); 9 Nov 2005 17:52:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2005 09:52:09 -0800 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=RCVD_IN_NJABL_PROXY X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [72.3.139.240] (HELO s61200.enredese.net) (72.3.139.240) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2005 09:52:02 -0800 Received: from [192.168.1.9] (Dynamic-IP-cr2001188664.cable.net.co [200.118.86.64]) (authenticated bits=0) by s61200.enredese.net (8.12.11/8.12.11) with ESMTP id jA9IdSsB001085 for ; Wed, 9 Nov 2005 12:39:32 -0600 Message-ID: <43723799.1020405@unionsoluciones.com.co> Date: Wed, 09 Nov 2005 12:53:29 -0500 From: =?ISO-8859-1?Q?Juli=E1n_Garc=EDa?= User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Users List Subject: Re: How skip dtd read by Digester? References: <20051109173524.EC37D10FB2D4@asf.osuosl.org> <16d6c6200511090945w7c29a752v267f757d0b6c82cd@mail.gmail.com> In-Reply-To: <16d6c6200511090945w7c29a752v267f757d0b6c82cd@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Please prefix your messages Martin Cooper wrote: > On 11/9/05, Zsolt wrote: > >>My application (because of demo) must also run without internet access. >> >>Right now I get UnknownHostException because Digester finds DTD in the xml >>file. How can I disabled that? > > > > Rather than disable it, you can register a local copy with the Digester so > that it doesn't try to look it up on the net. See the Javadocs for > Digester.register(), here: > > http://jakarta.apache.org/commons/digester/commons-digester-1.7/docs/api/org/apache/commons/digester/Digester.html#register(java.lang.String,%20java.lang.String) > > -- > Martin Cooper > > > The DTD is not needed here. > >> >>>"http://www. ibatis.com/dtd/sql-map-config-2.dtd >>"> >> >>Zsolt >> >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org >>For additional commands, e-mail: commons-user-help@jakarta.apache.org >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org