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: Setting for removing newlines from SQL?
Date Tue, 12 Aug 2008 02:02:13 GMT
Yeah, you can do that with IDEA too.  But I think even tools like IDEA and
NetBeans aren only doing this for performance and offline support reasons...
it's a bandaid solution for an impractical technology.

It is a namespace, but also happens to map to a physical location on the
web, and thus there is the dependency.

What I think would be better is a relative path scheme for DTDs, which more
often than not would just be the same path that the XML file is in, but
would also allow developers to design their own structure.  At the very
least would provide repository options other than an online resource that
eventually becomes a single point of inflexibility (and in some cases

My point in summary:  iBATIS is not a web service, and thus it should not
depend on the web.


On Mon, Aug 11, 2008 at 5:01 PM, John Clash <spam.trash@seznam.cz> wrote:

> Clinton Begin wrote:
> >
> > <side-rant>
> > DTD/Schema is annoying really.  [...] While our entity resolver does grab
> > it
> > from the JAR, tools and such will always need it on the web. [...]
> > </side-rant>
> >
> <side-tip>
> IMHO that's the fault of the tool developers - DTD PUBLIC / SYSTEM values
> are not URL to suggest where to download it from, rather it is an URI -
> unique identifier that can be used to distinguish different DTDs.
> I use NetBeans, which allow to set up DTDs and Schemas conveniently - see
> "Tools -> DTDs and XML Schemas". You can download the proper scheme and
> link
> the URI to a file in your filesystem.
> </side-tip>
> Ondra
> --
> View this message in context:
> http://www.nabble.com/Setting-for-removing-newlines-from-SQL--tp18916746p18935384.html
> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

View raw message