axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nandika Jayawardana (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (AXIS2C-1616) Conflict with data type names
Date Wed, 26 Dec 2012 16:02:12 GMT

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

Nandika Jayawardana reassigned AXIS2C-1616:
-------------------------------------------

    Assignee: Nandika Jayawardana
    
> Conflict with data type names
> -----------------------------
>
>                 Key: AXIS2C-1616
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1616
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: wsdl2c tool
>    Affects Versions: 1.6.0
>         Environment: Debian Squeeze i386
>            Reporter: Johan Abbors
>            Assignee: Nandika Jayawardana
>            Priority: Blocker
>              Labels: bug, patch
>             Fix For: 1.7.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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message