ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: New doctype won't work
Date Fri, 18 Nov 2005 17:38:59 GMT
2.1.6 improved this yet again. So you should upgrade if you can.

Here's the code:

http://svn.apache.org/repos/asf/ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapClasspathEntityResolver.java

It should be case insensitive and should fully support both
ibatis.com<http://ibatis.com>and
apache.org <http://apache.org> doctypes.

Comments welcome.

Cheers,
Clinton




On 11/18/05, Vincent NICOLAS <vincent.nicolas@teamlog.com> wrote:
>
> Unfortunately, I am using 2.1.5.
>
> Jeff Butler a écrit :
>
> > 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* <n.beekman@wis.nl
> > <mailto:n.beekman@wis.nl>> 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:vincent.nicolas@teamlog.com
> > <mailto:vincent.nicolas@teamlog.com>]
> > Sent: vrijdag 18 november 2005 14:34
> > To: user-java@ibatis.apache.org <mailto: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"
> > <http://ibatis.apache.org/dtd/sql-map-config-2.dtd%22>>
> > >
> > >it should work.
> > >
> > >Niels
> > >
> > >-----Original Message-----
> > >From: Vincent NICOLAS [mailto:vincent.nicolas@teamlog.com
> > <mailto:vincent.nicolas@teamlog.com>]
> > >Sent: vrijdag 18 november 2005 11:12
> > >To: user-java@ibatis.apache.org <mailto: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"
> > <http://www.ibatis.com/dtd/sql-map-config-2.dtd%22>>
> > >
> > >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"
> > <http://ibatis.apache.org/dtd/sql-map-config-2.dtd%22>>
> > >
> > >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
>
>

Mime
View raw message