Re: ibatis, XML and special characters

2007-03-20 Thread 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 output as shown below, select id=getItemSpeicalNotes

Re: ibatis, XML and special characters

2007-03-19 Thread Ashish Kulkarni
@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 as shown below, select id=getItemSpeicalNotes resultClass=xml parameterClass=java.math.BigDecimal xmlResultName=ITEMSPECIALNOTES SELECT P706DETL

Re: ibatis, XML and special characters

2007-03-19 Thread Clinton Begin
/07, Yuvraj Shinde [EMAIL PROTECTED] wrote: 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

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