[ http://jira.codehaus.org/browse/JIBX-101?page=all ]

Dennis Sosnoski reassigned JIBX-101:
------------------------------------

    Assign To: Dennis Sosnoski

> Cannot ignore elements inside structure
> ---------------------------------------
>
>          Key: JIBX-101
>          URL: http://jira.codehaus.org/browse/JIBX-101
>      Project: JiBX
>         Type: Bug

>   Components: core
>     Versions: JiBX 1.1, JiBX 1.0.1
>  Environment: Windows XP Professional SP 2, JDK 5.0, JBuilder 2005, Ant task
>     Reporter: Zeljko Trogrlic
>     Assignee: Dennis Sosnoski

>
>
> I need to ignore elements inside XML, which I do not want to map. According 
> to manual, this is done using <structure> element without field. This works 
> unless structure is inside structure (see comments):
> <binding name="BAST" direction="input">
>   <mapping name="METADATA" class="hr.siemens.m2y.streaming.model.PlayList" 
> value-style="element">
>     <!-- works -->
>     <structure name="version"/>
>    <collection field="media" 
> factory="hr.siemens.m2y.streaming.model.PlayList.mediaListFactory">
>     <structure name="product" type="hr.siemens.m2y.streaming.model.Media">
>       <value name="ean_code" field="eanCode"/>
>       <!-- FAILS -->
>       <structure name="bast_product_id" usage="optional"/>
> Binding compiler reports:
>            [bind] Error: No compatible mapping defined for type 
> hr.siemens.m2y.streaming.model.Media; on structure element at (line 14, col 
> 59, in bastBinding.xml)

-- 
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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to