Don't use the same UnmarshallingContext. Create a new one.

 

From: Rice Yeh [mailto:rice...@gmail.com] 
Sent: 12 April 2010 17:24
To: jibx-users@lists.sourceforge.net
Subject: [jibx-users] Is it possible to unmarshal another document
duringunmarshalling?

 

Hi,
  Is it possible to unmarshal another document during unmarshalling? In
org.jibx.runtime.impl.UnmarshallingContext, when set to another
document, the context is reset. This kind of use case (unmarshalling
multiple documents) is quite common when a doucment importing another
document.

Regards,
Rice

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.801 / Virus Database: 271.1.1/2800 - Release Date: 04/11/10
19:32:00

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to