The entity resolver ignores the public id - the system id is what's important.  There was a bug in this area that was fixed in version 2.1.5 - make sure you are using that version.  If you are not using 2.1.5, then you'll need to use the old system ids.
 
Jeff Butler

 
On 11/18/05, Niels Beekman <[EMAIL PROTECTED]> wrote:
One of the developers should comment on this, personally I think the identifier will be recognized in future versions, amongst other reasons, it saves bandwith and is a small effort.

Niels

-----Original Message-----
From: Vincent NICOLAS [mailto:[EMAIL PROTECTED]]
Sent: vrijdag 18 november 2005 14:34
To: user-java@ibatis.apache.org
Subject: Re: New doctype won't work

Thanks you for the quick answer. Does this mean that I will have to
change it again with a future revision of iBatis ? Or will the
//iBatis.com be recognize too in future releases ?


Niels Beekman a écrit :

>iBATIS uses a SAX EntityResolver to resolve DTD's from the iBATIS jars.
>The public identifier //ibatis.apache.org does not resolve to the jars
>yet. If you use the following:
>
><!DOCTYPE sqlMapConfig PUBLIC "-//iBATIS.com//DTD SQL Map Config
>2.0//EN" "http://ibatis.apache.org/dtd/sql-map-config-2.dtd" >
>
>it should work.
>
>Niels
>
>-----Original Message-----
>From: Vincent NICOLAS [mailto:[EMAIL PROTECTED]]
>Sent: vrijdag 18 november 2005 11:12
>To: user-java@ibatis.apache.org
>Subject: New doctype won't work
>
>Hi everyone,
>
>I'm trying to change my DOCTYPE from
><!DOCTYPE sqlMapConfig PUBLIC "-//iBATIS.com//DTD SQL Map Config
>2.0//EN" "http://www.ibatis.com/dtd/sql-map-config-2.dtd" >
>
>to the new one :
><!DOCTYPE sqlMapConfig PUBLIC "-//ibatis.apache.org//DTD SQL Map Config
>2.0//EN" " http://ibatis.apache.org/dtd/sql-map-config-2.dtd">
>
>However, doing so leads to an error when I launch Tomcat (4.1.31, from
>Eclipse 3.1) : a connect error (timeout). This behavior seems logical to
>
>me because my computer is behind a proxy, and I haven't set any proxy
>config in Tomcat. The question is : why it is working in the first case
>?
>
>Any idea is welcome...
>
>

--
Vincent NICOLAS
Teamlog, Lyon


Reply via email to