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

Robert Lazarski resolved AXIS2C-1616.
-------------------------------------
    Resolution: Fixed

Axis2/C 2.0.0 will be released soon with a new native C codegen feature and a 
test case for this issue passed.

> Conflict with data type names
> -----------------------------
>
>                 Key: AXIS2C-1616
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1616
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: code generation
>    Affects Versions: 1.6.0
>         Environment: Debian Squeeze i386
>            Reporter: Johan Abbors
>            Priority: Blocker
>              Labels: bug, patch
>             Fix For: 2.0.0
>
>         Attachments: axis2_codegen_type_name_changes.patch
>
>
> The generated code with ADB bindings will not compile if an element or 
> attribute, defined in a schema or the wsdl, is named "type". This would 
> result in a data type adb_type_t that will conflict with an already defined 
> axis2 data type adb_type_t use by the axis2 extension mapper.
> An excerpt from a schema defining a attribute named "type"
> <xs:element name="supportedMimeTypes" minOccurs="1" maxOccurs="1">
>     <xs:complexType>
>         <xs:sequence>
>             <xs:element name="mimeType" minOccurs="0" maxOccurs="unbounded">
>                 <xs:complexType>
>                     <xs:attribute name="type" type="xs:string" 
> use="required"/>
>                     <xs:attribute ref="xml:lang" use="optional"/>
>                 </xs:complexType>
>             </xs:element>
>         </xs:sequence>
>     </xs:complexType>
> </xs:element>



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to