Hi Dennis

I haven't come across Krishnanunni's problem, but I do often change the generated binding to either remove the prefix="..." attribute on the namespace (making it the default element) or change the value of the prefix attribute.

If you do make any changes in this area, it would be nice to be able to specify whether a prefix is to be used for the namespace, or whether it should be the default element, and to specify the prefix value.

Thanks for all your great work on Codegen !

nigel.

Dennis Sosnoski wrote:
Hi Krishnanunni,

The generated binding should have everything needed to work with documents matching the schema definition. What happens if you don't add the ns='...' attribute?

  - Dennis

Dennis M. Sosnoski
XML and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117



kichansu wrote:
Hi All,

Is there any option by which Codegen automatically add ns="<namespace URL>"
for mappings in binding xml file. As of now, I am manually adding that part
in the generated binding file for my project.

Thanks & Regards,
Krishnanunni


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
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&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to