> I'm getting this error when I try to set usage="optional" prior to a
> text value. The configuration file looks like:
>
> <mapping type-name="term-type" class="com.hli.jibx.Term"
> extends="com.hli.jibx.LEEntity" abstract="true">
> ...stuff...
> <structure name="DISPLAYTERMS" usage="optional">
> ...stuff...
> </structure>
> <value style="cdata" field="_text" set-method="setText"/>
> </mapping>
>
> I'm not sure how to work around this error because the element is
> truly optional in the input XML.
>
>
----
NOTICE BY HEALTH LANGUAGE, INC.
This message, as well as any attached document, contains information from
Health Language, Inc. that is confidential. The information is intended only
for the use of the addressee named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying, distribution
or the taking of any action in reliance on the contents of this message or its
attachments is strictly prohibited, and may be unlawful. If you have received
this message in error, please delete all electronic copies of this message and
its attachments, if any, destroy any hard copies you may have created, without
disclosing the contents, and notify the sender immediately. Unless expressly
stated otherwise, nothing contained in this message should be construed as a
digital or electronic signature, nor is it intended to reflect an intention to
make an agreement by electronic means.
------------------------------------------------------------------------------
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users