You don't have to put it anywhere - just use the public URL:
 
http://ibatis.apache.org/dtd/dao-2.dtd
 
Rational Application Developer knows how to read the DTD from the Internet.  If you're behind a proxy, then you can set proxy settings in RAD.  iBATIS will resolve from the JAR file regardless - this error is probably due to RAD trying to do interactive validation from the DTD.
 
Jeff Butler

 
On 4/7/06, Edwin Lukaweski <[EMAIL PROTECTED]> wrote:
Hi:
 
    I am having trouble figuring out where to place the dao-2.dtd . I get the message:
 
E:\Projects\rationalsdp6.0\ForStart\AddamSubV2Archive-test\dao-2.dtd (The system cannot find the file specified)
 
 
 
My dao.xml begins with:
 

<?

xml version="1.0" encoding ="UTF-8"?>

<!

DOCTYPE daoConfig

PUBLIC "-//iBATIS.com//DTD DAO Configuration 2.0//EN"

"dao-2.dtd">

 

And, I am using iBatis 2.1.7 which, I understand from reading the mailing list, has an improved entity resolver. I am working in the Eclipse IDE and am calling the iBatis application project from another project. I have a copy of dao-2.dtd in the same package as the dao.xml.

Can anybody tell me where to start looking to solve this error?

 

thanks,

Edwin

 


Reply via email to