Abstract Mapping and Interface
------------------------------

                 Key: JIBX-171
                 URL: http://jira.codehaus.org/browse/JIBX-171
             Project: JiBX
          Issue Type: Bug
          Components: core
    Affects Versions: JiBX 1.1.5
            Reporter: Vincent Grimault


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.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to