ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Butler" <dhsc...@cstone.dhs.state.il.us>
Subject Re: SqlMapClasspathEntityResolver Using Wrong ID???
Date Tue, 07 Jun 2005 21:08:30 GMT
+1 on smarter entity resolver.  That would fix it for everyone, whether
they remember to fix the config files or not.

Also, will the public ID change too since it has "iBATIS.com" in it?

Argh - Changing domains is a real hassle!

Jeff Butler

>>> clinton.begin@gmail.com 06/07/05 3:59 PM >>>
I only want to maintain one website for ibatis, both to avoid confusion
simplify deployment of the new site. One problem is that nobody will
have access to the current ibatis.com <http://ibatis.com> hosting
except me. 

Unfortunately I found out (after I made the change) that
apache.org<http://apache.org>doesn't like to point multiple URLs to
the same site. So they set up a
redirection script instead.

So now, the plan is to slowly move everyone to use
and ibatis.com/.net/.org <http://ibatis.com/.net/.org> will simply
become a 
redirection. Unfortunately the redirections will not help for DTD 

That said, Jeff is right, we should use the public ID, and originally
did. Unfortunately public IDs are easy to screw up (they're a nasty
so I chose to use the system ID, because URLs are more foolproof.
for future considerations, I suppose the public ID will be the way to
go, or 
perhaps a smarter entity resolver all around (i.e. try the public ID
then the system id for all both ibatis.com <http://ibatis.com> and 
ibatis.apache.org <http://ibatis.apache.org>). 


On 6/7/05, Brandon Goodin <brandon.goodin@gmail.com> wrote:
> crappy, guess we'll have to fix that.
> Clinton: why did we have to move the ibatis.com
<http://ibatis.com>website to redirect to
> ibatis.apache.org <http://ibatis.apache.org>? Why can't we keep it
the way 
> it was for now and
> simply provide a simple link to the new site from
> We could
> have at least avoided the dtd stuff for a while until we were
> everything would function correctly?
> On 6/7/05, Jeff Butler <dhscn06@cstone.dhs.state.il.us> wrote:
> > Per the change in the web site, I changed the system ids of all my
> > config files to ibatis.apache.org/..
> However, iBatis is still looking
> > for www.ibatis.com/. <http://www.ibatis.com/.>.. in the class
> > com.ibatis.sqlmap.engine.builder.xml.SqlMapClasspathEntityResolver,
> > the entity resolution fails at run time.
> >
> > It seems to me that iBatis should use the public id, rather than
> > system id to resolve the DTDs. That would avoid the issue, and
> > solve the problem that occurs when you change the system id to
point to
> > a local copy of the DTD for the lesser IDEs - not that I've ever
> > such a lessor IDE myself :-) Also, it seems more "standard" to me
> > use the public id.
> >
> > Does that make sense?
> >
> > Jeff Butler
> >
> >

View raw message