[ http://jira.codehaus.org/browse/JIBX-43?page=history ]
Dennis Sosnoski updated JIBX-43:
--------------------------------
Fix Version: (was: CVS)
1.0-RC0
> java.lang.IllegalStateException: Internal error - content not ordered
> ---------------------------------------------------------------------
>
> Key: JIBX-43
> URL: http://jira.codehaus.org/browse/JIBX-43
> Project: JiBX
> Type: Bug
> Components: core
> Versions: 1.0-beta3c
> Environment: Verified on both Linux and Windows, using jdk 1.4.2
> Reporter: Joshua Davies
> Assignee: Dennis Sosnoski
> Fix For: 1.0-RC0
> Attachments: jibx-issue-43.tgz
>
>
> The following (simplified) bindings file is causing an "Internal error":
> <binding>
> <mapping name="top" class="Top">
> <structure name="level2" ordered="false">
> <collection item-type="Level3" set-method="setLevel3"
> get-method="getLevel3" usage="optional" />
> </structure>
> </mapping>
> <mapping name="level3" class="Level3" value-style="attribute">
> <value name="name" field="name" />
> </mapping>
> </binding>
> The error disappears if the "collection" element is removed, or if the
> "ordered='false'" clause is remove from the structure. Although it's
> obviously meaningless to set "ordered='false'" for a single-element
> structure, it took us quite a while to track this issue down, since the error
> message is misleading.
--
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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs