I believe the cdata start/end will cause the dynamic tags to be escaped, and therefor not interpreted by iBATIS.
I would guess your second suggestion is the correct one.


From: Mississippi John Hurt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 23, 2006 1:01 PM
To: [email protected]
Subject: CDATA inside or outside of statement tag

In my statement in xml, if I use <dynamic> tag, does the CDATA wrap around the whole statement, ie

<select>
CDATASTART
<dynamic>  </dynamic>
<dynamic> </dynamic>
CDATAEND
</select>

or I use to use separate CDATA sections as in below...
<select>
<dynamic>  CDATASTART  CDATAEND </dynamic>
<dynamic>  CDATASTART   CDATAEND</dynamic>
</select>

Reply via email to