Brian,
That URL won't work anymore b/c the project was moved to Apache but that
is the format I meant. What version of iBATIS are you using? Check the
docs that came w/ it and use the URL from them.
-Richard
Brian Sterner wrote:
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>
------------------------------------------------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
it now.
<http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ%20>