ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raju <raju...@hotmail.com>
Subject Re: Resolving ibatis entities without hitting url in DTD..
Date Tue, 15 May 2007 06:55:50 GMT

Hi Clinton,

I used the following :

<!DOCTYPE sqlMapConfig
PUBLIC "-//ibatis.apache.org//DTD SQL Map Config 2.0//EN"

Doesnt work if internet is OFF.Maybe xmlparser is not honoring 
EntityResolver as mentioned by you.

Any inputs on how to use catalog files to solve this issue?


Clinton Begin wrote:
> It shouldn't be hitting the server regardless.   iBATIS uses a custom
> EntityResolver that looks it up in the JAR file.  Check to make sure  your
> doctype is correctly set to ibatis.apache.org.
> Or if for some reason your XML parser isn't honoring the EntityResolver,
> then you can keep local copies of the DTD and use a file:// url.
> Clinton
> On 5/14/07, raju <raju_ak@hotmail.com> wrote:
>> Hi,
>> We are using  iBATIS, and the our xml files for the DAOs include a common
>> entity for CRUD and  list operations.
>> This entity is a public identifier with URL which makes it hard to test
>> new
>> versions without commiting them first.It also becomes a problemwhen xml
>> file
>> changes.
>> Has anyone tried out using  entity in iBATIS xml config files without
>> actually hitting te URL specified in the DTD?
>> ?
>> Any ideas or samples to achieve the above would be of great help.
>> Thanks in advance
>> Raju
>> --
>> View this message in context:
>> http://www.nabble.com/Resolving-ibatis-entities-without-hitting-url-in-DTD..-tf3752640.html#a10604624
>> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

View this message in context: http://www.nabble.com/Resolving-ibatis-entities-without-hitting-url-in-DTD..-tf3752640.html#a10617523
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

View raw message