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
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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs