I have critical problem parsing XML from a legacy system. The XML
contains an element with with embedded text, which follows an optional
element:
For example, the configuration file looks like:
<binding>
<mapping name="item" class="com.hli.jibx.Item">
<structure name="element" usage="optional"/>
<value style="cdata" field="_text"/>
</mapping>
</binding>
When this compiles, I get this error:
Error: Text value must be preceded by required element; on value element
at (line 4, col 39, in item.xml)
This problem is stopping progress on a critical project and I need a
solution (other than changing the input XML, which is not a viable
option).
Any help is appreciated.
Thanks.
------------------------------------------------------------------------------
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users