Hi, I'm facing a problem with a web services provider that uses (incorrectly) 2 namespaces in its messages. In a first service I receive something like <a xmlns="uri1"> <b xmlns="uri2"> <c/> </b> </a>
But in a second one I have <aa xmlns="uri1"> <b xmlns=""> <!-- <= should be xmlns="uri2" --> <c/> </b> </aa> b element is defined in namespace "uri2" in the schema thus codegen generates the correct binding. Of course when parsing the second response Jibx complains about the unknown b element. The problem comes from the ws provider's response, but there is no chance to see it being corrected. In xmlbeans, that I'm currently migrating from, I used a namespace substitution at parse time with Map<String, String> prefixes = new HashMap<String, String>(); prefixes.put("", "uri2"); XmlOptions.setLoadSubstituteNamespaces(prefixes); Does exist, in Jibx, something like setLoadSubstituteNamespaces ? If not, by which customization can I handle such a case ? Thank you for your help Jean-Michel ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users