commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bond - James D." <james...@telesoft.com>
Subject Re: XMLConfiguration load problem - External Entity not found
Date Tue, 20 Dec 2005 15:38:16 GMT

I reported this same issue back in August or earlier ... I thought the fix 
would be in 1.2 .... guess not.  :(

> I am using 'commons-configuration-1.2.jar' to make it easier to read XML
> configuration files.
> 
>  
> 
> The files are not terribly complex but do have associated DTDs. Ideally
> I would like to specify the DTD location using a local, relative path.
> The problem is that when I try and load the file, I get:
> 
>  
> 
> Relative URI "../../../yyyy.dtd"; can not be resolved without a base
> URI.
> 
>  
> 
> So, after reading about a similar problem with solution posted by
> Oliver, I tried specifying the full path. Now I get:
> 
>  
> 
> External entity not found:
> "file://C:/eclipse/workspace/xxxx/dtds/yyyyy.dtd". 
> 
>  
> 
> Or...
> 
>  
> 
> External entity not found: "C:/eclipse/workspace/xxxx/dtds/yyyyy.dtd".
> 
>  
> 
> What is up here? Is the use of DTDs not really supported? In the article
> I found, Oliver said that he had fixed the relative path problem. Is
> there some other issue going on?
> 
>  
> 
> Any help much appreciated...
> 
>  
> 
> Bill
> 
>  
> 
> 

-- 
James Dalrymple
Telesoft Corp.


---------------------------------------------------------------------
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