You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Steve Green (JIRA)" <ax...@ws.apache.org> on 2005/01/05 21:31:13 UTC

[jira] Created: (AXIS-1753) All xs:choice members are non-nillable

All xs:choice members are non-nillable
--------------------------------------

         Key: AXIS-1753
         URL: http://issues.apache.org/jira/browse/AXIS-1753
     Project: Axis
        Type: Bug
  Components: WSDL processing  
    Versions: current (nightly)    
    Reporter: Steve Green
 Attachments: 1753.diff

All xs:choice members are non-nillable, thus not really allowing for a choice.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-1753) All xs:choice members are non-nillable

Posted by "Steve Green (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1753?page=comments#action_66570 ]
     
Steve Green commented on AXIS-1753:
-----------------------------------

Thank you for applying the patch, however upon further investigation I am seeing that the patch was not applied as it was written.

My version of the patch looped through all elements just before returning from processChoiceNode() whereas the modified patch that got applied only addressed "element" children.

My concern is about xs:group choice members.  At the time this patch was applied, Axis was broken in the way it handled groups.  Now that my patch for groups was taken, groups work much like macros.  That is, a choice with a group in it will behave exactly like a choice with the group members directly in the choice element.  My concern is that such choice members will not have setMinOccursIs0() set.

The processChoiceNode() code also deals with other element types. Shouldn't those element types also get setMinOccursIs0()?

> All xs:choice members are non-nillable
> --------------------------------------
>
>          Key: AXIS-1753
>          URL: http://issues.apache.org/jira/browse/AXIS-1753
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: current (nightly)
>     Reporter: Steve Green
>     Assignee: Davanum Srinivas
>  Attachments: 1753.diff
>
> All xs:choice members are non-nillable, thus not really allowing for a choice.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXIS-1753) All xs:choice members are non-nillable

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS-1753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS-1753:
-----------------------------------

    Assignee:     (was: Davanum Srinivas)

> All xs:choice members are non-nillable
> --------------------------------------
>
>                 Key: AXIS-1753
>                 URL: https://issues.apache.org/jira/browse/AXIS-1753
>             Project: Axis
>          Issue Type: Bug
>          Components: WSDL processing
>    Affects Versions: current (nightly)
>            Reporter: Steve Green
>         Attachments: 1753.diff
>
>
> All xs:choice members are non-nillable, thus not really allowing for a choice.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS-1753) All xs:choice members are non-nillable

Posted by "Steve Green (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1753?page=history ]

Steve Green updated AXIS-1753:
------------------------------

    Attachment: 1753.diff

This patch sets minOccurs to 0 for choice members thus allowing the coder to make a choice.  *SubtleHint* Please note that the diff may not apply cleanly because the patches in AXIS-1525 has not been applied yet.

> All xs:choice members are non-nillable
> --------------------------------------
>
>          Key: AXIS-1753
>          URL: http://issues.apache.org/jira/browse/AXIS-1753
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: current (nightly)
>     Reporter: Steve Green
>  Attachments: 1753.diff
>
> All xs:choice members are non-nillable, thus not really allowing for a choice.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Reopened: (AXIS-1753) All xs:choice members are non-nillable

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1753?page=all ]
     
Davanum Srinivas reopened AXIS-1753:
------------------------------------

     Assign To: Davanum Srinivas

Steve hinted at possible problems with this one...reopening the bug.

> All xs:choice members are non-nillable
> --------------------------------------
>
>          Key: AXIS-1753
>          URL: http://issues.apache.org/jira/browse/AXIS-1753
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: current (nightly)
>     Reporter: Steve Green
>     Assignee: Davanum Srinivas
>  Attachments: 1753.diff
>
> All xs:choice members are non-nillable, thus not really allowing for a choice.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira