This is definitely a bug in Castor. If you instantiate the Unmarshaller using a class, it works fine:
unmarshaller = new Unmarshaller(MyType.class); unmarshaller.setIgnoreExtraAttributes(true); unmarshaller.setIgnoreExtraElements(true); reader = new FileReader(filename); myobj = (MyType)unmarshaller.unmarshal(reader);
but the other way does not work.
Robert
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
