While unmarshalling a xml document I am getting the following exception org.xml.sax.SAXException:
Parsing Error : The entity name must immediately
follow the '&' in the entity reference. I am getting the above exception at the following line in
the xml file <failure-description><![CDATA[DEALER INITIALS:
ROB PART SHIP DATE:
DOCUMENT SHIP DATE: DEALER
COMMUNICATION CODE:
CUSTOMER COMPLNT:REP FOR EATON VORAD NOT WRKNG.FND VORAD CODE
25.TRBLSHOT F
(CAUSE) CODE
& FND NO PROB WITH J1959.ADV RONNIE QUEEN & WAS ADVIS (CORRECTION) TO REPROGRAM
WITH 014 SOFTWARE.REPROGRAMED.CODES WENT INAC
CLEARED CODES & ROAD TESTED.FND OKAY
DATE RET TO DIV:
DATE RET TO DLR: 01/23/04 PART RECEIVE DT: 12/09/DIV COMMUNICATION
CODE:
DIV COMMENT DLR: CLAIM SENT TO ETN IN ERROR, RE-SEND TO FUL. SAM 1/23
INTERNAL:
--------- LABOR BREAKDOWN FOLLOWS ---------- OEM CLAIM S/N:
34A-XXX 2.50
*TOT HRS
2.50]]></failure-description> What I am unable to understand is why am I getting this
exception even though the content is enclosed in a CDATA section? Isn’t the xml
parser not supposed to treat the text within the CDATA section as markup? Any help would be greatly appreciated. |