ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Goodin <brandon.goo...@gmail.com>
Subject Re: com.ibatis.common.xml.NodeletException: Error parsing XML.Cause: java.net.ProtocolException: Server redirected too many times (20)
Date Mon, 30 Mar 2009 15:40:38 GMT
What specific version of iBATIS are you using. This should not be an issue.
I do development all the time offline and do not have this issue. Try the
following DOCTYPE declaration.
<!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN" "
http://ibatis.apache.org/dtd/sql-map-2.dtd">

Brandon

On Mon, Mar 30, 2009 at 10:22 AM, Ashish Kulkarni <
ashish.kulkarni13@gmail.com> wrote:

> HiI am having issue with ibatis, the error i am getting is
>
> Error occurred.  Cause: com.ibatis.common.xml.NodeletException: Error
> parsing XML. Cause: java.net.ProtocolException: Server redirected too many
>  times (20)
> java.net.ProtocolException: Server redirected too many  times (20)
>
> How can i resolve this issue, it seems that from my server, it is not able
> to reach http://ibatis.apache.org/dtd/sql-map-2.dtd to validated the XML
> file.
>
> Is there a way i can download and copy this dtd in the same folder as xml
> file, so dont ahve to go to internet to validate
>
> The current xml file is as below
>
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE sqlMap
> PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN"
> "http://ibatis.apache.org/dtd/sql-map-2.dtd">
> <sqlMap namespace="POInternalData">
>
>
> </sqlMap>
>
>
> Ashish
>
>
>
>

Mime
View raw message