Hi, I cannot really think of any solution to this problem. With Castor XML, you define a binding between Java classes and XML, and once you have defined it (like a contract), any changes to this contract will do harm.
Regards Werner chembu wrote: > Hello, > > > > I am a castor 1.1 user. I have the following requirement. > > > > The xml that I want to unmarshall contains the following fragment. This xml > is generated by Castor itself. > > > > <array-list><contact-composite-bean > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:type="java:com.infogix.insight.component.contact.export.fdt.ContactCompositeBean"> > > > > I did some refactoring in my code and the ContactCompositeBean is now in > com.infogix.insight.bc.control.export.fdt package. When I try to Unmarshall > the above xml, it errors out with > com.infogix.insight.component.contact.export.fdt.ContactCompositeBean > ClassNotFound exception. > > > > How do I map > com.infogix.insight.component.contact.export.fdt.ContactCompositeBean to > com.infogix.insight.component.contact.export.fdt.ContactCompositeBean? > > > > I tried using addNamespaceToPackageMapping() API. But did not seem to work. > > > > Please let me know if you can think of a possible solution to the above > problem. > > > > Thank you > > Sajith Chembali > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

