If you are OK with using a snapshot version of Axiom, you can use the new feature described in [1] to achieve this. If you have a requirement to use a release version, you can still use the same approach (i.e. disable coalescing), provided that you have control over how the XMLStreamReader is created.
Andreas PS: Axiom specific question not directly related to Axis2 should be posted to commons-dev@ws.apache.org [1] http://people.apache.org/~veithen/axiom/userguide/ch04.html#d0e866 On Thu, Mar 11, 2010 at 07:04, Kasun Indrasiri <kasun...@gmail.com> wrote: > > Hi, > How can we preserve CDATA sections when using Axiom to parse an XML Document > ? > > regards, > > -- > Kasun Indrasiri > >