For historic reasons, our top level element in the incoming XML may or may not have a namespace attribute. The historic code is a very manual string processing and just ignores the xmlns attribute if it exists. Is there a way to do that with JIBX? So far, I can create a binding definition that knows about the <namespace>, but then it only works if the xmlns is defined, and equivalently, a binding definition without <namespace> handles incoming XML without an xmlns attribute.
So far, I cant figure out how to creating a binding definition that works for both. Is it possible? If not, can I have 2 binding definition files (one with <namespace> and one without) that map to the same object or is that going to cause problems? <MyObject xmlns="http://blah/blah" > // ß the xmlns attribute may or may not exist. </MyObject> Thanks, Chris
PGP.sig
Description: PGP signature
------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge
_______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users