ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Butler" <jeffgbut...@gmail.com>
Subject Re: AbatorConfig.xml and entities
Date Sat, 17 Mar 2007 16:31:52 GMT
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

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

View raw message