Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 51471 invoked from network); 18 Mar 2007 13:06:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Mar 2007 13:06:07 -0000 Received: (qmail 20906 invoked by uid 500); 18 Mar 2007 13:06:12 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 20889 invoked by uid 500); 18 Mar 2007 13:06:12 -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 20878 invoked by uid 99); 18 Mar 2007 13:06:11 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Mar 2007 06:06:11 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jamisonlists@gmail.com designates 64.233.182.189 as permitted sender) Received: from [64.233.182.189] (HELO nf-out-0910.google.com) (64.233.182.189) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Mar 2007 06:06:03 -0700 Received: by nf-out-0910.google.com with SMTP id l24so728545nfc for ; Sun, 18 Mar 2007 06:05:42 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=C9Pra++pii1UxGMmnzZe7gaRZb7SFdwprlb/s+Rs5SzqeaBujpe47cxmTBbONkBN7BFkoP20KYOXOKXsLxTB4Y/Yx62I7rNwVk+dZ5xM1lJAevT5YN3hlpUCI9BsrYbfDPP8iIczpPxDyS+DpUL69zzRuUmSrjzFxuEgvBYlYwU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Pq1KtFhYUw3iNQ6BYmMYkbg2cB1hFu69fDMphkD1cLpqltAvERUK5DgWfOWdb6gpW/39cblBzDASLwwPaKgEqdVyLql7IPl27O0HnBFHAIVjtyONmGyxEoKHZ6CvKmykjf1/Me6vUO6hw0DeYFPWuunv1FTKt60m/IFUC7CEgzo= Received: by 10.82.108.9 with SMTP id g9mr7712977buc.1174223142011; Sun, 18 Mar 2007 06:05:42 -0700 (PDT) Received: by 10.82.162.20 with HTTP; Sun, 18 Mar 2007 06:05:41 -0700 (PDT) Message-ID: <71d231c70703180605w4113d3d6mf1c21895d148dbb8@mail.gmail.com> Date: Sun, 18 Mar 2007 21:05:41 +0800 From: j-lists To: user-java@ibatis.apache.org Subject: Re: ibatis, XML and special characters In-Reply-To: <5EBE57594E74E84DB1DC6BA8E279389D023144B9@SOS-MAILSRV.ascindia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <878c6f8e0703111716n1bab2704x4fca455310d30420@mail.gmail.com> <5EBE57594E74E84DB1DC6BA8E279389D023144B9@SOS-MAILSRV.ascindia.com> X-Virus-Checked: Checked by ClamAV on apache.org I would guess that this is a database encoding problem, have you confirmed that the ">"s are causing a problem or just the non-ascii characters? If the driver is getting generating invalid UTF16 for Java (internally) that might be causing the failure... unfortunately this is a real pain to debug and fix. Bulk loaders can fill varchars with badly encoded text that give trouble. Just a theory. -J On 3/12/07, Yuvraj Shinde wrote: > > > > > You can use CDATA tag. > > > > ________________________________ > > > From: Ashish Kulkarni [mailto:ashish.kulkarni13@gmail.com] > Sent: Monday, March 12, 2007 5:47 AM > To: user-java@ibatis.apache.org > Subject: ibatis, XML and special characters > > > > > Hi > I am using ibatis to run a SQL statement which returns a XML as output a= s > shown below, > > > > > I am having issues when the data returned by SQL statement has special > characters like > or umlots =FC, > how do i handle this, is there a way to tell ibatis to parse these speci= al > characters and make it XML complaint before creating XML result > > Ashish