Yes I get the same exception with this message :

The entity name must immediately follow the '&' in the entity reference.


[Antoine, VOIRY]  -----Original Message-----
From: mats nyberg [mailto:[EMAIL PROTECTED]]
Sent: mercredi 9 janvier 2002 14:11
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Unmarshalling

do you get the same exception?
does it work w/o that perticular element/are you sure you have isolated the error "as here"?

VOIRY,ANTOINE (HP-France,ex2) wrote:
[EMAIL PROTECTED]" type="cite">
Hi,
This syntax does not work neither.
Antoine

-----Original Message-----
From: mats nyberg [mailto:[EMAIL PROTECTED]]
Sent: mercredi 9 janvier 2002 11:46
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Unmarshalling


for starters and not very castor oriented; that is not valid XML!

should be 'C&A' instead, as i'm sure someone will tell you soon

//mats

VOIRY,ANTOINE (HP-France,ex2) wrote:

Hi all,
I have only one easy question. How do we unmarshall a message that contains
field with special chararcter like &, without having an exception.
Example :
<MyExample>
<Company>C&A</Compagny>
</MyExample>

If I try to unmarshall this, I receive :
org.xml.sax.SAXException: Parsing Error : The entity name must
immediately follow the '&' in the entity reference.

Thanks in advance
Antoine

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev





Reply via email to