The following comment has been added to this issue:
Author: Omkaram Sangem
Created: Mon, 2 Aug 2004 7:32 AM
Body:
This happens only if the element is marked as optional in binding definition file.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/JIBX-35?page=comments#action_22620
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/JIBX-35
Here is an overview of the issue:
---------------------------------------------------------------------
Key: JIBX-35
Summary: If the element value is of type numerical and the value is zero, the
marshallDocument() is not including the element in the output XML.
Type: Bug
Status: Unassigned
Priority: Critical
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: JiBX
Components:
core
Versions:
1.0-beta3c
Assignee:
Reporter: Omkaram Sangem
Created: Mon, 2 Aug 2004 7:21 AM
Updated: Mon, 2 Aug 2004 7:32 AM
Environment: JiBX version beta3c-1.0
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
Description:
If the element value is of type numerical and the value is zero, the
marshallDocument() is not including the element in the output XML.
This situation arises usually if count related elements have zero values.
For example:
Logically NoOfAccounts can be zero and it must be included in the Marshalled XML
document.
---------------------------------------------------------------------
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 OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
jibx-devs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-devs