Hi,
 
Until now we used Castor 0.9.3.9 and now we want to upgrade to 0.9.4.
In the old version the marshalled xml looked like this:
 
    <ComponentReference id="abc"/>
 
In the 0.9.4 version it looks different:
 
    <PersistentElement id="abc" xsi:type="ComponentReference"/>
 
ComponentReference is a concrete class that extends the abstract class PersistentElement.
I know, that the xsi:type attribute specifies the concrete sub class of the element. But in 0.9.3.9 the attribute was only generated when using interfaces and not when using abstract classes. But PersistentElement is an abstract class. So it worked in 0.9.3.9.
 
Did you extend the usage of ysi:type also for abstract classes?
Is there a way to get the same results as in 0.9.3.9?
 
Many thanks.
 
Matthias
 

Reply via email to