Hi Dennis,
thanks for this. Honestly I do not like that approach. I had to map the tag with a structure to a dedicated class instead of a simple boolean or Boolean. What I would like to see is a better support directly in the jibx mapping/runtime.


Thanks again.
Stefano

Dennis Sosnoski wrote:
Hi Stefano,

See my "Re: [jibx-users] Map empty element to boolean" message, just sent. This approach still requires a little extra code, but at least it works. Does that fit your needs?

- Dennis

Stefano Fornari wrote:

Hi,
we are happily using Jibx and it is very powerful. However there is a point we found it is improveable: handling of tags like <tag/>, particularly bound to a boolean value (so that if the tag is specified, the property is set to true and if the tag is not given, the property is set to false).


Best regards,
Stefano





--
Stefano Fornari                   [EMAIL PROTECTED]
Funambol CTO                      www.funambol.com

6472 Camden Ave #106              Via dei Valtorta 21
San Jose, CA 95120 (USA)          20127 Milano (Italy)
Tel.: +1 408 705 2044             Tel.: +39 02 2614 5383
Fax: +1 408 705 2044              Fax: +39 02 7005 60230

Your Synchronization Company



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
jibx-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to