ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Pitts" <Daniel.Pi...@cnet.com>
Subject RE: CDATA inside or outside of statement tag
Date Wed, 23 Aug 2006 20:03:50 GMT
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:johnhurt@gmail.com] 
Sent: Wednesday, August 23, 2006 1:01 PM
To: user-java@ibatis.apache.org
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> 

Mime
View raw message