Hi All,

My input xml structure looks like ==>

<?xml version="1.0" encoding="UTF-8"?>
<ABCD_ROOT>
    <ABCD>
        <XYZ_Root>
            <XYZ>
                <SOME_Element_TARGET>
                    <SOME_Element>9773240020</SOME_Element>
                </SOME_Element_TARGET>
                <SOME_Element_TARGET>
                    <SOME_Element>897979799</SOME_Element>
                </SOME_Element_TARGET>
            </XYZ>
        </XYZ_Root>
    </ABCD>
</ABCD_ROOT>
BOM does not contain the SOME_Element_TARGET element. 

Binding file has the following entry

 <collection field="someElementList" usage="optional" 
create-type="java.util.ArrayList">
         <structure map-as="someElement" name="SOME_Element" />
 </collection>


As the input file has the extra parameter, I modified the binding file as below.

<structure name="SOME_Element_TARGET">

 <collection field="someElementList" usage="optional" 
create-type="java.util.ArrayList" name="SOME_Element_TARGET">
         <structure map-as="someElement" name="SOME_Element" />
 </collection>
</structure>


But when I am trying to unmarshal the input XML file, I am getting the 
exception as 

Expected "SOME_Element_TARGET" end tag, found "Telecommunication_Number" start 
tag 


Am I doing anything wrong here? 


Thanks,
Vikas Jadhav
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to