ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Sterner <brianster...@yahoo.com>
Subject Re: Relative URI for DTD
Date Sat, 12 Jan 2008 22:59:44 GMT
Hi Richard.  When you say "non-relative URL", are you talking about the default

<!DOCTYPE sqlMapConfig
    PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN"

Style url?  And you're saying the parser will resolve this using the jar file?

Thanks for your assistance.

----- Original Message ----
From: Richard Yee <ryee@cruzio.com>
To: user-java@ibatis.apache.org
Sent: Saturday, January 12, 2008 2:46:15 PM
Subject: Re: Relative URI for DTD

If you use the non-relative URL (ie http://ibatis.apache.org.....) the 
parser will get it from the jar file. I suppose you are using the older
version of iBATIS that still included the DAO framework. You might also
consider using the DAO template from Spring.


Brian Sterner wrote:
> I cannot get a relative uri to work in Dao.xml for the dao-2.dtd.  
> I've tried placing both the xml and the dtd in the same directory and
> using...
> <!DOCTYPE daoConfig SYSTEM "file://dao-2.dtd">
> To no avail.  Is it possible to use a relative uri with the ibatis 
> config files?  Can I use the SqlMapClasspathEntityResolver class in 
> some way to accomplish this?
> Thanks - Brian
> Never miss a thing. Make Yahoo your homepage. 
> <http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs> 

Never miss a thing.  Make Yahoo your home page. 
View raw message