axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Green (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Commented: (AXIS-1753) All xs:choice members are non-nillable
Date Mon, 30 May 2005 17:54:52 GMT
     [ 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


Mime
View raw message