Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: JiBX 1.1.5
-
Fix Version/s: None
-
Component/s: core
-
Labels:None
-
Number of attachments :
Description
Hello,
i'm using JiBX 1.1.5 with abstract Mapping. I have a problem where the type in my mapped object is an interface.
For example i have the folowing mapping :
<mapping
class="mypackage.AttributeVO"
abstract="true" type-name="cfile">
<value name="PATHFILE" field="pathFile" type="java.lang.String"/>
</mapping>
I have a other mapping who reference it:
<mapping
class="mypackage.RootVO"
name="ENVELOPPE">
<structure name="ROOTFILE" field="rootFile" map-as="cfile" usage="optional"/>
</mapping>
The RootVO classe reference an interface IAttributeVO (AttributeVO implements it). The binding could not compile. when i replace the interface by the implementation, the compilation is OK.
I've been unable to duplicate this problem with the current code. If you experience it, please supply sample code and binding to demonstrate the problem.