Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 4975 invoked from network); 20 Mar 2006 17:58:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Mar 2006 17:58:35 -0000 Received: (qmail 34650 invoked by uid 500); 20 Mar 2006 17:58:31 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 34625 invoked by uid 500); 20 Mar 2006 17:58:31 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 34596 invoked by uid 99); 20 Mar 2006 17:58:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Mar 2006 09:58:30 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of dario.mx@gmail.com designates 64.233.182.201 as permitted sender) Received: from [64.233.182.201] (HELO nproxy.gmail.com) (64.233.182.201) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Mar 2006 09:58:28 -0800 Received: by nproxy.gmail.com with SMTP id x37so788449nfc for ; Mon, 20 Mar 2006 09:58:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WrS/LCkeXNp36WZYLAqC/NOxEO4/0Qmx22XuCBi/vLf15iesaa72gnq9jnY6ssf2UvuuCw558hsvTQX62voZJGgfgFDP3Z2Z+tTDUVCzRzkrsRLbBDxWk+mPu9n7vzjJdVAxJDLmobUewseXeUOcROE/eWazeUiABO9symeviJs= Received: by 10.48.246.18 with SMTP id t18mr1062605nfh; Mon, 20 Mar 2006 09:58:06 -0800 (PST) Received: by 10.48.248.7 with HTTP; Mon, 20 Mar 2006 09:58:06 -0800 (PST) Message-ID: <3d104d6f0603200958o6468c38fh@mail.gmail.com> Date: Mon, 20 Mar 2006 11:58:06 -0600 From: "Dario Bahena Tapia" To: user-java@ibatis.apache.org, lmeadors@apache.org Subject: Re: Undeclared types & DTD ... In-Reply-To: <3d104d6f0603200933k5f0bce54y@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <3d104d6f0603200630u3f7ef491y@mail.gmail.com> <3d104d6f0603200908md2cde9cv@mail.gmail.com> <3d104d6f0603200933k5f0bce54y@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Oh yes, it was that. Thanks a lot. Regards, Dario. 2006/3/20, Dario Bahena Tapia : > Mmm, oh yes ... I copied them from another email, and did not see that > typo. Let me try that change, and I'll let u know. Thanks! > > Regards, > me. > > 2006/3/20, Larry Meadors : > > Not 100% sure, but you have this: > > > > > http://ibatis.apache.org/dtd/sql-map-2.dtd"> > > > > You should have this instead: > > > > > http://ibatis.apache.org/dtd/sql-map-2.dtd"> > > > > Larry > > > > > > > > On 3/20/06, Dario Bahena Tapia wrote: > > > 2006/3/20, Dario Bahena Tapia < dario.mx@gmail.com>: > > > > Hi, > > > > > > > > I'm using spring + iBatis, but having an issue when parsing sql-map > > > > file. Here's the message in the logs: > > > > > > > > > > > > com.ibatis.common.exception.NestedRuntimeException: > > Error occurred. > > > > Cause: com.ibatis.common.xml.NodeletException: Error > > parsing XML. > > > > Cause: > > com.ibatis.common.exception.NestedRuntimeException : Error > > > > parsing XPath '/sqlMapConfig/sqlMap'. Cause: > > > > com.ibatis.common.xml.NodeletException: Error parsing > > XML. Cause: > > > > org.xml.sax.SAXParseException: Element type "select" must be declar= ed. > > > > Caused by: org.xml.sax.SAXParseException: Element type "select" mus= t > > > > be declared. > > > > > > > > > > > > I have one of this messages for each select element in my file: > > > > > > > > > > > > > > > " http://ibatis.apache.org/dtd/sql-map-2.dtd"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I think I'm declaring correctly the DTD type, what could be the > > > > problem? Do I need to setup the default xml parser before using > > > > iBatis or something like that? > > > > > > > > Thanks, > > > > Regads. > > > > > > > > > >