hi dennis,

given this binding:
<binding>

  <format type="CodeType"
     serializer="XMLPropertyAdapter.serialize"
     deserializer="XMLPropertyAdapter.deserialize" />

<mapping name="choice" class="Choice">
<value name="code" field="code" ident="def" /> <!-- field code is of type CodeType -->
<value name="value" field="value" />
</mapping>


</binding>

when i bind, i get this error:
    JiBXException: ID property must be a String at tag "value"

the field "code" is not of type string.  but the specified <format>
tag for its type provides a serializer that produces a string.
shouldn't that be sufficient for it to qualify as a valid ID / key ?

thanks, eitan

ps: thanks for such a nice and well-documented framework!
pps/question: will beta 4 include multi-level inheritance support?


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
jibx-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to