PUBLIC "-//ibatis.com//DTD SQL Map 2.0//EN"
This is what i have in release.txt file ibatis-sqlmap-2.jar
Build Date: 2005/05/16 01:33
Build Number: 565
2.1.0 - May 16, 2004
Hope this helps, so what should be the doc type for this verion
On 2/6/07, Yee, Richard K CTR DMDC <Richard.Yee.firstname.lastname@example.org> wrote:Ashish,I believe I sent you the wrong DOCTYPE. I sent you the one for the sqlmap config instead of the sqlMap fileTry this one.<!DOCTYPE sqlMap
PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN"
Which version of iBATIS are you using. This DOCTYPE is for versions after 2.1
From: Ashish Kulkarni [mailto:email@example.com]
I tried changing it to
PUBLIC "-//ibatis.apache.org//DTD SQL Map Config 2.0//EN"
But still i get the same error, i have java 1.4.2 on this AS400, so the XML parser must be from java.
Also i have these program running on 5 other AS400 boxes with same jar files, but not working on this one,
i tried to ping http://ibatis.apache.org but it could not find the server.
how do i change it to use system DTD instead of the default.
Do you have an example.
On 2/6/07, Larry Meadors <firstname.lastname@example.org> wrote:It should be resolved in the iBATIS jar file. Are you using an older
version of iBATIS, or the current release?
Also, it could be the XML parser on the 400..if that is the case, you
could use a system DTD instead of the default.
On 2/6/07, Ashish Kulkarni <email@example.com > wrote:
> I have a java program which uses ibatis to run SQL queries, this program
> runs on AS400, and on of the AS400 boxes i am getting following error
> Error occurred. Cause:
> com.ibatis.common.xml.NodeletException: Error parsing XML.
> Caused by: java.net.UnknownHostException : ibatis.apache.org
> The header in my XML file looks like this
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE sqlMapConfig
> PUBLIC "-//iBATIS.com//DTD SQL Map Config 2.0//EN"
> " http://ibatis.apache.org/dtd/sql-map-config-2.dtd">
> i suspect this AS400 has a firewall which blocks all internet traffic.
> Is this the cause of this problem, is there any work around to get it
> working on this AS400 machine?