Hi Rajiv, Yes, it's true that JiBX will ignore attributes which are not defined in the binding. Checking for unknown attributes is difficult in the current code, and basically requires you to add extension code for this purpose. I do this for all the XML documents used by JiBX (binding, customizations, schema) with lists of expected attributes for each element, checked in a pre-set method - but this list of attributes has to be maintained in the code, separate from the binding.
- Dennis Rajiv Verma wrote: > We are using older version of JiBX , version 1.0 and the I want to > make sure that the statement I made in the Subject line is true. If it > is, is there a way I can restrict some random attributes coming in , > using JiBX mappings. > > Thanks, > Rajiv > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > ------------------------------------------------------------------------ > > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users