BindGen Converts ByteArray to Collection of Byte (Repeating xs:byte elements)
Instead of xs:binary as Described in the Specification
------------------------------------------------------------------------------------------------------------------------------------
Key: JIBX-404
URL: http://jira.codehaus.org/browse/JIBX-404
Project: JiBX
Issue Type: Bug
Components: BindGen
Affects Versions: JiBX 1.2.2
Environment: Windows Server 2003/Mac OS X Snow Leopard
Reporter: Jack Vinijtrongjit
Bindgen converts Byte[] to collection of byte (repeating xs;byte elements)
instead of binary (xs:binary) as specified in the list of conversion.
A sample class that causes the issue is as follow:
class ByteArrayTest(){
byte[] byteArray;
public ByteArrayTest(){}
}
This is the results from BindGen
binding.xml
----
<collection field="byteArray" usage="optional">
<value name="byte" type="byte"/>
</collection>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs