Use CDATA in your XML. --Dhananjay
On 1/29/08 2:04 AM, "Jon Grandage" <[EMAIL PROTECTED]> wrote: > I am using JiBX to unmarshall XML data into an object > > The XML data is as follows > > <PlanDescriptionLong>PAY & GO - TALKALOT</PlanDescriptionLong> > > When I unmarshall the xml I get the following exception for the & character > > org.jibx.runtime.JiBXException: Error parsing document (line 10...... > > If I parse my document manually before unmarshalling and replace the & with > & it unmarshalls correctly, but when I access the object the data is > stored as & and I have to change back to & before displaying. > > Is there a mechanism within JiBX that will handle the & character without the > need for me to convert my xml document before unmarshalling. > > > > > __________________________________________________________ > Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users