Hi ,
  I have a xml document with the element

<event-invitees>[EMAIL PROTECTED]</event-invitees>

When I unmarshal this, I get a SAXParser Exception 

org.xml.sax.SAXException: Illegal Text data found as child of:
event-invitees
  value: "[EMAIL PROTECTED]"
        at
org.exolab.castor.xml.UnmarshalHandler.endElement(UnmarshalHandler.java:
411)
        at
org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1342)
        at
org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValid
ator.java:654)
        at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatc
h(XMLDocumentScanner.java:1209)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScan
ner.java:402)
        at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:802)
        at
org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:338)
        at
org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:270)
        at
com.gazoo.core.gbus.impl.InternalMessageImpl.unmarshal(InternalMessageIm
pl.java:1249)


WHat do I need to do when I marshal InternalMessageImpl to avoid this
exception

Thanks
Pramod

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

Reply via email to