[jibx-users] [Bug?] JIBX Incorrect Value Conversion for ByteArray

2010-10-03 Thread Jack Vinijtrongjit
Hi,

According to this page, ByteArray is supposed to be converted to base64 
representation of binary data.

http://jibx.sourceforge.net/details/conversions.html

However, what I'm getting when running bindGen is

xs:element type=xs:byte name=byte minOccurs=0 maxOccurs=unbounded/

Am I missing something here? Could this possibly be a bug? I'm using version 
1.2.2.

Thanks,
Jack
--
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d___
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users


[jibx-users] how to use collection in a structure with flexible=true

2010-10-03 Thread mazz_97
hello,
I need help setting up a collection in a structure where flexible=true

What is the proper way to do that?

structurename=AAAfield=errorMessagetype=com.jibx.errorordered=falseflexible=true
 usage=optional    collectionname=AAAHHHfield=errors    
valuetype=java.lang.String/    /collection 
The above code does not seem to work. If I move the name from the collection to 
the value field, I get a compilation error:Error: All child components must 
define element names for flexible='true'; on collection element
 
Any suggestions  or help will be greatly appreciated.
 
Thanks
 
 /structure

--
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
___
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users