Re: [jibx-users] Question on Jibx
Hi Pardeepta, This is supported by the flexible="true" attribute - see the tutorial at http://jibx.sourceforge.net/tutorial/binding-extras.html#mixing for some more details on using this. There are some limitations, and you need to set this flag on every level of your binding where you want it to apply, but it should meet your needs. - Dennis Pradeepta Bhattacharya wrote: > Hello All, > > How to ignore elements that I don't want to parse in an XML > structure. I just want to map the elements that are there in the POJO and > ignore the ones that are not part of it, though the XML can return lot of > elements. Thanks. > > Pradeepta > > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > > - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
Re: [jibx-users] Question on Jibx
Hello Dennis, Thanks for the reply. Could you please also clarify why we can't use the combination of flexible="true" ordered="false" usage="optional" at the structure level in the jibx mapping file. It throws a ArrayIndexOutOfBoundException while compiling the binding file. Thanks Pradeepta -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dennis Sosnoski Sent: Monday, August 21, 2006 1:15 PM To: JiBX users Subject: Re: [jibx-users] Question on Jibx Hi Pardeepta, This is supported by the flexible="true" attribute - see the tutorial at http://jibx.sourceforge.net/tutorial/binding-extras.html#mixing for some more details on using this. There are some limitations, and you need to set this flag on every level of your binding where you want it to apply, but it should meet your needs. - Dennis Pradeepta Bhattacharya wrote: > Hello All, > > How to ignore elements that I don't want to parse in an XML > structure. I just want to map the elements that are there in the POJO and > ignore the ones that are not part of it, though the XML can return lot of > elements. Thanks. > > Pradeepta > > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > > - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
Re: [jibx-users] Question on Jibx
Sounds like a bug - can you submit a problem report in Jira, as described at http://jibx.sourceforge.net/bugs.html If you include everything I need to reproduce the problem I'll make sure it gets fixed for the next release. - Dennis Dennis M. Sosnoski SOA, Web Services, and XML Training and Consulting http://www.sosnoski.com - http://www.sosnoski.co.nz Seattle, WA +1-425-296-6194 - Wellington, NZ +64-4-298-6117 Pradeepta Bhattacharya wrote: > Hello Dennis, > > Thanks for the reply. Could you please also clarify why we can't use > the combination of flexible="true" ordered="false" usage="optional" at the > structure level in the jibx mapping file. It throws a > ArrayIndexOutOfBoundException while compiling the binding file. Thanks > > Pradeepta > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Dennis > Sosnoski > Sent: Monday, August 21, 2006 1:15 PM > To: JiBX users > Subject: Re: [jibx-users] Question on Jibx > > Hi Pardeepta, > > This is supported by the flexible="true" attribute - see the tutorial at > http://jibx.sourceforge.net/tutorial/binding-extras.html#mixing for some > more details on using this. There are some limitations, and you need to > set this flag on every level of your binding where you want it to apply, > but it should meet your needs. > > - Dennis > > Pradeepta Bhattacharya wrote: > >> Hello All, >> >> How to ignore elements that I don't want to parse in an XML >> structure. I just want to map the elements that are there in the POJO and >> ignore the ones that are not part of it, though the XML can return lot of >> elements. Thanks. >> >> Pradeepta >> >> >> - >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job >> > easier > >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> ___ >> jibx-users mailing list >> jibx-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jibx-users >> >> >> > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > > - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users