commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julián García <jgar...@unionsoluciones.com.co>
Subject Re: How skip dtd read by Digester?
Date Wed, 09 Nov 2005 17:53:29 GMT
Please prefix your messages
Martin Cooper wrote:
> 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.String,%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