Hello,

I'm currently using Castor mapping facilities.  When mapping from xml to
java, I've run into a problem when upgrading to the latest Castor jar
(0.9.3.21).

Problem is this - I have a field element for a class, the type of this field
maps to an interface.  I have specified a create method attribute for the
field which corresponds to a method on the parent class.  This method
instantiates a concrete implementation of the interface, and returns it as
the interface type.

This all worked fine with previous version (0.9.3) of Castor - but now I get
an exception -

org.xml.sax.SAXException :  unable to instantiate a new type of : <interface
name>

I've verified through debugging that my create method is not even being
called.  When I regress to the old Castor jar, it is being called.

Any ideas on what might be happening here?

Thanks
ACW

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

Reply via email to