I have downloaded the latest CVS release 4-19-2002.  I placed the
setReuseObjects to true before unmarshalling the sample  invoicetest.java
program.  It failed on the "Item" element because it was described as a
reoccurring element according to the schema.  This returned an array as
opposed to an object.  Hence it failed when the Unmarshaller tried to use
the class.  This is because the class name was item[] and not item.

My reason for using the setReuseObjects function is so that I do not have to
keep loading new instances of existing objects.  Some of my elements will
have LARGE numbers of enumerations to be used against validating incoming
codes.  I do not want to keep instantiating each time I receive a new
document.  Is there a different way to achieve this effect?
Thanks
Dave Mann

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

Reply via email to