You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "nadir amra (JIRA)" <ax...@ws.apache.org> on 2007/01/04 23:48:27 UTC

[jira] Closed: (AXISCPP-995) WSDL2Ws ignores attribute refs inside of attributeGroup

     [ https://issues.apache.org/jira/browse/AXISCPP-995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

nadir amra closed AXISCPP-995.
------------------------------

       Resolution: Fixed
    Fix Version/s: current (nightly)

The problem was that we were not detecting if the entry in the attributeGroup was a reference.  Now it does and resolves to the reference. 

The change was in file CSchemaUtils.java. method addAttributeToVector().

> WSDL2Ws ignores attribute refs inside of attributeGroup
> -------------------------------------------------------
>
>                 Key: AXISCPP-995
>                 URL: https://issues.apache.org/jira/browse/AXISCPP-995
>             Project: Axis-C++
>          Issue Type: Bug
>          Components: WSDL processing - Doc, XML parser abstraction layer
>    Affects Versions:  1.6 Beta
>         Environment: Windows 2000
>            Reporter: Ronak Patel
>            Priority: Blocker
>             Fix For: current (nightly)
>
>
> WSDL2Ws complains with a NULLPointerException when encountering the following schema block:
>  <xsd:attributeGroup name="SomeGroup">  
>     <xsd:attribute ref="first" use="required"/>
>     <xsd:attribute ref="second" use="required"/>
>     <xsd:attribute ref="third" use="optional"/>
>     <xsd:attribute ref="fourth" use="optional"/>
>     <xsd:attribute ref="fifth" use="optional"/>
>     <xsd:attribute ref="sixth" use="optional"/>
>     <xsd:attribute ref="seventh" use="optional"/>
>     <xsd:attribute ref="eighth" use="optional"/>
>     <xsd:attribute ref="ninth" use="optional"/>
>     <xsd:attribute ref="tenth" use="optional"/>
>     <xsd:attribute ref="eleventh" use="optional"/>
>   </xsd:attributeGroup>
> <xsd:attribute name="first" type="someDeclaredType"/>
> <xsd:attribute name="first" type="someDeclaredType"/>
> <xsd:attribute name="first" type="someDeclaredType"/>
> <xsd:attribute name="first" type="someDeclaredType"/><xsd:attribute name="first" type="someDeclaredType"/>

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

        

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