commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zsolt" <zkoppanyl...@intland.com>
Subject RE: How skip dtd read by Digester?
Date Thu, 10 Nov 2005 07:34:30 GMT
Can you provide me an example please?

Zsolt


>-----Original Message-----
>From: mfncooper@gmail.com [mailto:mfncooper@gmail.com] On Behalf Of Martin
>Cooper
>Sent: Wednesday, November 09, 2005 6:45 PM
>To: Jakarta Commons Users List
>Subject: Re: How skip dtd read by Digester?
>
>On 11/9/05, Zsolt <zkoppanylist@intland.com> 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.S
>tring,%20java.lang.String)
>
>--
>Martin Cooper
>
>
>The DTD is not needed here.
>>
>>
>> <!DOCTYPE sqlMapConfig PUBLIC "-//iBATIS.com//DTD SQL Map Config 2.0//EN"
>> "http://www. ibatis.com/dtd/sql-map-config-
>2.dtd<http://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


Mime
View raw message