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"
"http://www.ibatis.com/dtd/sql-map-config-2.dtd">
Style url? And you're saying the parser will resolve this using the jar file?
Thanks for your assistance.
----- Original Message ----
From: Richard Yee <[EMAIL PROTECTED]>
To: [email protected]
Sent: Saturday, January 12, 2008 2:46:15 PM
Subject: Re: Relative URI for DTD
Brian,
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.
-Richard
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.
http://www.yahoo.com/r/hs