|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (JIBX-203) Jibx needs to create the empty element when the field value becomes null and the usage attribute is requiredJibx needs to create the empty element when the field value becomes null and the usage attribute is required
------------------------------------------------------------------------------------------------------------ Key: JIBX-203 URL: http://jira.codehaus.org/browse/JIBX-203 Project: JiBX Issue Type: Bug Components: core Affects Versions: JiBX 1.1.5 Environment: WindowsXP, Weblogic Server 8.1 Reporter: Soundararajan Thevaraj Hi, Below is a piece of scrab of my binding xml. <mapping class="com.proj.isw.valueobjects.SSPFirmSaleValue" abstract="true" type-name="account_address"> <value name="AddressLine1" field="blCntCN" usage="required"/> <value name="AddressLine2" field="blCntTP"/> <value name="UnitType" field="blCntEX" default=""/> <value name="UnitValue" field="blCntFN" usage="optional" default=""/> <value name="City" field="blCntFN" usage="optional" default=""/> <value name="State" field="blCntEM" default=""/> <value name="Zip" field="blCntFN" default=""/> <value name="Country" constant="840"/> <value style="attribute" name="geoCode" constant="89830983098"/> <value style="attribute" name="skipValidation" constant="Y"/> <value style="attribute" name="checkId" constant=""/> <value style="attribute" name="statusCode" constant=""/> <value style="attribute" name="statusCategory" constant=""/> <value style="attribute" name="statusDescription" constant=""/> </mapping> When the field blCntCN value becomes null and usage="required", I expect jibx marshalling should create the empty tag <AddressLine1/>. But its not happening. When do the marshalling jibx missing out element completly. <AccountAddress geoCode="89830983098" skipValidation="Y" checkId="" statusCode="" statusCategory="" statusDescription=""> <AddressLine2>APt 1100</AddressLine2> <UnitValue>CTG</UnitValue> <City>Irving</City> <Zip>75038</Zip> <Country>840</Country> </AccountAddress> Our requirement is, If any of the value becomes null and its a required field then we need to send the empty tag of that element. Is it a bug in Jibx 1.1.5? or do we have someother way to accomplish this. Your help would be help ful -- 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ jibx-devs mailing list jibx-devs@... https://lists.sourceforge.net/lists/listinfo/jibx-devs |
|
|
[jira] Updated: (JIBX-203) Jibx needs to create the empty element when the field value becomes null and the usage attribute is required[ http://jira.codehaus.org/browse/JIBX-203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dennis Sosnoski updated JIBX-203: --------------------------------- Assignee: Dennis Sosnoski It would help if you could supply a sample project to demonstrate the problem, including an Ant build.xml for the project. > Jibx needs to create the empty element when the field value becomes null and the usage attribute is required > ------------------------------------------------------------------------------------------------------------ > > Key: JIBX-203 > URL: http://jira.codehaus.org/browse/JIBX-203 > Project: JiBX > Issue Type: Bug > Components: core > Affects Versions: JiBX 1.1.5 > Environment: WindowsXP, Weblogic Server 8.1 > Reporter: Soundararajan Thevaraj > Assignee: Dennis Sosnoski > > Hi, > Below is a piece of scrab of my binding xml. > <mapping class="com.proj.isw.valueobjects.SSPFirmSaleValue" abstract="true" type-name="account_address"> > <value name="AddressLine1" field="blCntCN" usage="required"/> > <value name="AddressLine2" field="blCntTP"/> > <value name="UnitType" field="blCntEX" default=""/> > <value name="UnitValue" field="blCntFN" usage="optional" default=""/> > <value name="City" field="blCntFN" usage="optional" default=""/> > <value name="State" field="blCntEM" default=""/> > <value name="Zip" field="blCntFN" default=""/> > <value name="Country" constant="840"/> > <value style="attribute" name="geoCode" constant="89830983098"/> > <value style="attribute" name="skipValidation" constant="Y"/> > <value style="attribute" name="checkId" constant=""/> > <value style="attribute" name="statusCode" constant=""/> > <value style="attribute" name="statusCategory" constant=""/> > <value style="attribute" name="statusDescription" constant=""/> > </mapping> > When the field blCntCN value becomes null and usage="required", I expect jibx marshalling should create the empty tag <AddressLine1/>. But its not happening. When do the marshalling jibx missing out element completly. > <AccountAddress geoCode="89830983098" skipValidation="Y" checkId="" statusCode="" statusCategory="" statusDescription=""> > <AddressLine2>APt 1100</AddressLine2> > <UnitValue>CTG</UnitValue> > <City>Irving</City> > <Zip>75038</Zip> > <Country>840</Country> > </AccountAddress> > Our requirement is, If any of the value becomes null and its a required field then we need to send the empty tag of that element. Is it a bug in Jibx 1.1.5? or do we have someother way to accomplish this. Your help would be help ful -- 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ jibx-devs mailing list jibx-devs@... https://lists.sourceforge.net/lists/listinfo/jibx-devs |
|
|
[jira] Resolved: (JIBX-203) Jibx needs to create the empty element when the field value becomes null and the usage attribute is required[ http://jira.codehaus.org/browse/JIBX-203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dennis Sosnoski resolved JIBX-203. ---------------------------------- Resolution: Cannot Reproduce > Jibx needs to create the empty element when the field value becomes null and the usage attribute is required > ------------------------------------------------------------------------------------------------------------ > > Key: JIBX-203 > URL: http://jira.codehaus.org/browse/JIBX-203 > Project: JiBX > Issue Type: Bug > Components: core > Affects Versions: JiBX 1.1.5 > Environment: WindowsXP, Weblogic Server 8.1 > Reporter: Soundararajan Thevaraj > Assignee: Dennis Sosnoski > > Hi, > Below is a piece of scrab of my binding xml. > <mapping class="com.proj.isw.valueobjects.SSPFirmSaleValue" abstract="true" type-name="account_address"> > <value name="AddressLine1" field="blCntCN" usage="required"/> > <value name="AddressLine2" field="blCntTP"/> > <value name="UnitType" field="blCntEX" default=""/> > <value name="UnitValue" field="blCntFN" usage="optional" default=""/> > <value name="City" field="blCntFN" usage="optional" default=""/> > <value name="State" field="blCntEM" default=""/> > <value name="Zip" field="blCntFN" default=""/> > <value name="Country" constant="840"/> > <value style="attribute" name="geoCode" constant="89830983098"/> > <value style="attribute" name="skipValidation" constant="Y"/> > <value style="attribute" name="checkId" constant=""/> > <value style="attribute" name="statusCode" constant=""/> > <value style="attribute" name="statusCategory" constant=""/> > <value style="attribute" name="statusDescription" constant=""/> > </mapping> > When the field blCntCN value becomes null and usage="required", I expect jibx marshalling should create the empty tag <AddressLine1/>. But its not happening. When do the marshalling jibx missing out element completly. > <AccountAddress geoCode="89830983098" skipValidation="Y" checkId="" statusCode="" statusCategory="" statusDescription=""> > <AddressLine2>APt 1100</AddressLine2> > <UnitValue>CTG</UnitValue> > <City>Irving</City> > <Zip>75038</Zip> > <Country>840</Country> > </AccountAddress> > Our requirement is, If any of the value becomes null and its a required field then we need to send the empty tag of that element. Is it a bug in Jibx 1.1.5? or do we have someother way to accomplish this. Your help would be help ful -- 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 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ jibx-devs mailing list jibx-devs@... https://lists.sourceforge.net/lists/listinfo/jibx-devs |
|
|
[jira] Commented: (JIBX-203) Jibx needs to create the empty element when the field value becomes null and the usage attribute is required[ http://jira.codehaus.org/browse/JIBX-203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137946#action_137946 ] Ajay commented on JIBX-203: --------------------------- hello I am having some probelms with jibs implementation . Can I post here ? It is very very important for me ..please if someone can help me ?getting it to work ? thanks [ Show ยป ] Ajay - 09/Jun/08 08:56 PM hello I am having some probelms with jibs implementation . Can I post here ? It is very very important for me ..please if someone can help me ?getting it to work ? thanks > Jibx needs to create the empty element when the field value becomes null and the usage attribute is required > ------------------------------------------------------------------------------------------------------------ > > Key: JIBX-203 > URL: http://jira.codehaus.org/browse/JIBX-203 > Project: JiBX > Issue Type: Bug > Components: core > Affects Versions: JiBX 1.1.5 > Environment: WindowsXP, Weblogic Server 8.1 > Reporter: Soundararajan Thevaraj > Assignee: Dennis Sosnoski > > Hi, > Below is a piece of scrab of my binding xml. > <mapping class="com.proj.isw.valueobjects.SSPFirmSaleValue" abstract="true" type-name="account_address"> > <value name="AddressLine1" field="blCntCN" usage="required"/> > <value name="AddressLine2" field="blCntTP"/> > <value name="UnitType" field="blCntEX" default=""/> > <value name="UnitValue" field="blCntFN" usage="optional" default=""/> > <value name="City" field="blCntFN" usage="optional" default=""/> > <value name="State" field="blCntEM" default=""/> > <value name="Zip" field="blCntFN" default=""/> > <value name="Country" constant="840"/> > <value style="attribute" name="geoCode" constant="89830983098"/> > <value style="attribute" name="skipValidation" constant="Y"/> > <value style="attribute" name="checkId" constant=""/> > <value style="attribute" name="statusCode" constant=""/> > <value style="attribute" name="statusCategory" constant=""/> > <value style="attribute" name="statusDescription" constant=""/> > </mapping> > When the field blCntCN value becomes null and usage="required", I expect jibx marshalling should create the empty tag <AddressLine1/>. But its not happening. When do the marshalling jibx missing out element completly. > <AccountAddress geoCode="89830983098" skipValidation="Y" checkId="" statusCode="" statusCategory="" statusDescription=""> > <AddressLine2>APt 1100</AddressLine2> > <UnitValue>CTG</UnitValue> > <City>Irving</City> > <Zip>75038</Zip> > <Country>840</Country> > </AccountAddress> > Our requirement is, If any of the value becomes null and its a required field then we need to send the empty tag of that element. Is it a bug in Jibx 1.1.5? or do we have someother way to accomplish this. Your help would be help ful -- 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ jibx-devs mailing list jibx-devs@... https://lists.sourceforge.net/lists/listinfo/jibx-devs |
|
|
[jira] Closed: (JIBX-203) Jibx needs to create the empty element when the field value becomes null and the usage attribute is required[ http://jira.codehaus.org/browse/JIBX-203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dennis Sosnoski closed JIBX-203. -------------------------------- > Jibx needs to create the empty element when the field value becomes null and the usage attribute is required > ------------------------------------------------------------------------------------------------------------ > > Key: JIBX-203 > URL: http://jira.codehaus.org/browse/JIBX-203 > Project: JiBX > Issue Type: Bug > Components: core > Affects Versions: JiBX 1.1.5 > Environment: WindowsXP, Weblogic Server 8.1 > Reporter: Soundararajan Thevaraj > Assignee: Dennis Sosnoski > > Hi, > Below is a piece of scrab of my binding xml. > <mapping class="com.proj.isw.valueobjects.SSPFirmSaleValue" abstract="true" type-name="account_address"> > <value name="AddressLine1" field="blCntCN" usage="required"/> > <value name="AddressLine2" field="blCntTP"/> > <value name="UnitType" field="blCntEX" default=""/> > <value name="UnitValue" field="blCntFN" usage="optional" default=""/> > <value name="City" field="blCntFN" usage="optional" default=""/> > <value name="State" field="blCntEM" default=""/> > <value name="Zip" field="blCntFN" default=""/> > <value name="Country" constant="840"/> > <value style="attribute" name="geoCode" constant="89830983098"/> > <value style="attribute" name="skipValidation" constant="Y"/> > <value style="attribute" name="checkId" constant=""/> > <value style="attribute" name="statusCode" constant=""/> > <value style="attribute" name="statusCategory" constant=""/> > <value style="attribute" name="statusDescription" constant=""/> > </mapping> > When the field blCntCN value becomes null and usage="required", I expect jibx marshalling should create the empty tag <AddressLine1/>. But its not happening. When do the marshalling jibx missing out element completly. > <AccountAddress geoCode="89830983098" skipValidation="Y" checkId="" statusCode="" statusCategory="" statusDescription=""> > <AddressLine2>APt 1100</AddressLine2> > <UnitValue>CTG</UnitValue> > <City>Irving</City> > <Zip>75038</Zip> > <Country>840</Country> > </AccountAddress> > Our requirement is, If any of the value becomes null and its a required field then we need to send the empty tag of that element. Is it a bug in Jibx 1.1.5? or do we have someother way to accomplish this. Your help would be help ful -- 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ jibx-devs mailing list jibx-devs@... https://lists.sourceforge.net/lists/listinfo/jibx-devs |
| Free Forum Powered by Nabble | Forum Help |