Re: ibatis, XML and special characters

2007-03-20 Thread Ashish Kulkarni
Hi It is a German Language character umlaut here is more information about it http://en.wikipedia.org/wiki/Germanic_umlaut I try to change the database driver encoding, i am using DB2 on As400 as database, and see if it works. But the feature in ibatis to change encoding on DOM builder will be

Re: ibatis, XML and special characters

2007-03-19 Thread Ashish Kulkarni
Hi I have posted another thread with detail explaination this is the thread http://www.nabble.com/forum/ViewPost.jtp?post=9499524framed=y if you can take a look and tell me if you have any solution for it Ashish On 3/18/07, j-lists [EMAIL PROTECTED] wrote: I would guess that this is a

Re: ibatis, XML and special characters

2007-03-19 Thread Clinton Begin
Yeah, that's definitely a character encoding mismatch. You can either set your database driver to a different encoding (check your docs), or we could possibly introduce a feature in iBATIS that will let you set the encoding on the DOM builder so that it understands whichever character is causing

Re: ibatis, XML and special characters

2007-03-11 Thread Ashish Kulkarni
Hi The problem is with the data coming from database, in database they have special characters, so when ibatis runs the SQL statement and converts it to XML it does not work because of these characters in the data Ashish On 3/11/07, Clinton Begin [EMAIL PROTECTED] wrote: Use a CDATA section,

Re: ibatis, XML and special characters

2007-03-11 Thread Clinton Begin
O.sorry. That's kind of crazy because iBATIS just uses the DOM libraries to create the XML. I wonder why it wouldn't encode special characters properly? Clinton On 3/11/07, Ashish Kulkarni [EMAIL PROTECTED] wrote: Hi The problem is with the data coming from database, in database

RE: ibatis, XML and special characters

2007-03-11 Thread Yuvraj Shinde
You can use CDATA tag. From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] 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