From: Dennis S. (JIRA) <ji...@co...> - 2007-05-23 10:37:01
|
[ http://jira.codehaus.org/browse/JIBX-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dennis Sosnoski closed JIBX-158. -------------------------------- Released in 1.1.5 > optional structures in unordered mapping not optional > ----------------------------------------------------- > > Key: JIBX-158 > URL: http://jira.codehaus.org/browse/JIBX-158 > Project: JiBX > Issue Type: Bug > Components: core > Affects Versions: JiBX 1.1.3 > Reporter: Michael Kurz > Assignee: Dennis Sosnoski > Fix For: JiBX 1.1.4 > > Attachments: jibxtest.zip > > > When I have an unordered mapping with flexible="true" structures with usage="optional" are not optional. On unmarshalling jibx throws an exception ("Missing required element") if the optional element is not present. Optional values seem to work correctly. > The attached zip file contains a small program demonstrating the bug. -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira |