ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Volkmann <m...@ociweb.com>
Subject Re: AbatorConfig.xml and entities
Date Sat, 17 Mar 2007 16:52:10 GMT
On Mar 17, 2007, at 11:31 AM, Jeff Butler wrote:

> I committed a fix for this in SVN a couple of weeks ago.  I'd  
> appreciate it if you would build a the new version from SVN and  
> test to make sure I got it right.

Sure! I downloaded the latest code from Subversion and ran "ant - 
lib ../devlib".
I'm working on a Mac and using Java 5 and Ant 1.7. I got the following.

BUILD FAILED
java.lang.NoSuchMethodError:  
org.apache.tools.ant.types.resources.Resources.dieOnCircularReference()V

Do you think this is due to using Ant 1.7 instead of 1.6?

>  Jeff Butler
>
>
> On 3/17/07, Mark Volkmann <mark@ociweb.com> wrote:
> I found the post at the bottom on dev@ibatis.apache.org. Has the  
> problem with Abator using entities defined in a DOCTYPE been fixed?  
> I'm guessing it hasn't because I can't get it to work. Here's what  
> I want to do.
>
> <!DOCTYPE abatorConfiguration
>   PUBLIC "-//Apache Software Foundation//DTD Abator for iBATIS  
> Configuration 1.0//EN"
>   "http://ibatis.apache.org/dtd/abator-config_1_0.dtd" [
>   <!ENTITY % entities SYSTEM "entities.dtd">
>   %entities;
> ]>
>
>
> <abatorConfiguration>
>   ...
> </abatorConfiguration>
>
>
> The file entities.dtd defines XML entities that I use in XML to  
> avoid repeating values such as the database connection URL across  
> many XML configuration files in my application. Abator responds  
> with "This is not an Abator Configuration File".
>
>> On 9/28/06, Patrick.Higgins@cexp.com < Patrick.Higgins@cexp.com >  
>> wrote:
>>
>> We might be able to use an entity reference to store these  
>> externally, but that brings up another problem I found with Abator  
>> that may have already been addressed in SVN, but the entity  
>> resolver throws an exception rather than returning null for  
>> entities it doesn't recognize, so you can't define your own  
>> entities in the DOCTYPE.
>


Mime
View raw message