I found the post at the bottom on [EMAIL PROTECTED] 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, [EMAIL PROTECTED] <[EMAIL PROTECTED] > 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.

Reply via email to