Details
-
Bug
-
Status: Open
-
Blocker
-
Resolution: Unresolved
-
1.6.0
-
None
-
Debian Squeeze i386
Description
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>