I've run some tests and haven't been able to duplicate this. It's probably easiest if you can send me the actual document that's causing the problem. I'll also send you directly a copy of the latest version of the XPP3 parser - it looks like they made a couple of CDATA-related fixes, so it's possible this will work better.
- Dennis
John Crossman wrote:
I have an element (CDATA) with a lot of HTML content (see below) and it's tripping up my JiBX unmarshal. I am getting the following exception:
... 3) org.jibx.runtime.JiBXException: Unexpanded entity reference in text at (line 961, col 39) at org.jibx.runtime.impl.UnmarshallingContext.accumulateText(UnmarshallingContext.java:843) at org.jibx.runtime.impl.UnmarshallingContext.parseContentText(UnmarshallingContext.java:929) at org.jibx.runtime.impl.UnmarshallingContext.parseElementText(UnmarshallingContext.java:1065)
See line 961 below from XML that I am trying to read. This is all happening on a Linux box... could the '^M' characters embedded in the HTML be causing a problem?
935 <e k="body" t="12"> 936 <c><![CDATA[<b>^M 937 IBM plans to bring a software development technique that has been the subject of theoretical work for years to commercia l products this year and next. ^M 938 </b> <p>^M ... 961 "We believe these concepts are viable; they can deliver real value and help us transform ourselves to be more flexible a nd improve quality," Berry said. ^M 962 </p> <p>^M 963 Before aspect orientation can become mainstream, programmers need to be trained in the techniques and development tools, according to analysts. IBM, for one, will be working on "wizards" that can walk people through the process of creating aspects. ^M 964 </p> <p>^M ... 971 Sabbah also is expected to discuss a project called AspectX, which looks at how aspect-oriented techniques can be used i n conjunction with Web services-based business process workflows. Aspect orientation could potentially allow companies t o more easily automate and monitor business processes, Berry said. ^M 972 </p>^M 973 ^M 974 ^M 975 ]]></c> 976 </e>
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&opÌk
_______________________________________________
jibx-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-users
-- Dennis M. Sosnoski Enterprise Java, XML, and Web Services Training and Consulting http://www.sosnoski.com Redmond, WA 425.885.7197
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
jibx-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-users
