The following issue has been updated:
Updater: Joshua Davies (mailto:[EMAIL PROTECTED])
Date: Fri, 3 Sep 2004 3:06 PM
Comment:
Here's a full tarball that illustrates the issue. Just untar the attached file,
modify the "jibx.home" property in build.xml, run "ant bind" and you should get the
same stack trace.
Changes:
Attachment changed to jibx-issue-43.tgz
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/browse/JIBX-43?page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/JIBX-43
Here is an overview of the issue:
---------------------------------------------------------------------
Key: JIBX-43
Summary: java.lang.IllegalStateException: Internal error - content not ordered
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: JiBX
Components:
core
Versions:
1.0-beta3c
Assignee:
Reporter: Joshua Davies
Created: Fri, 3 Sep 2004 2:58 PM
Updated: Fri, 3 Sep 2004 3:06 PM
Environment: Verified on both Linux and Windows, using jdk 1.4.2
Description:
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.
---------------------------------------------------------------------
JIRA INFORMATION:
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
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
jibx-devs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-devs