I'm parsing an xml which contains a CDATA block and I get the following exception:
"Caused by: org.xmlpull.v1.XmlPullParserException: start tag unexpected character @ (position: TEXT seen ...<Mrell@do [mailto:Mll@dk]> <Dn@... @9:100) at org.xmlpull.mxp1.MXParser.parseStartTag(MXParser.java:1803) at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1127) at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)" for this: "<ical-content><![CDATA[ DESCRIPTION:[mailto:r...@mvma.com]] <Mrell@do [mailto:Mll@dk]> <Dn@allo ]]></ical-content>" If I remove the first occurrence of double brackets if does work. it seems to me that xstream identify double brackets "]]" as the end of the CDATA block instead of "]]>" I'm using Java 6 and xstream 1.4.2 Thanks,