axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alastair FETTES" <afet...@mdacorporation.com>
Subject [AxisCPP] Bug in code generation for array types
Date Tue, 19 Sep 2006 17:17:28 GMT
Using the following sample XSD you can cause the code generation bug:

<xs:element name="fooParent">
    <xs:complexType>
        <xs:element ref="tns:fooElement" minOccurs="0" maxOccurs="1"/>
        <xs:element ref="tns:barElement" minOccurs="0" maxOccurs="1"/>
    <xs:complexType>
</xs:element>

<xs:element name="fooElement" type="tns:fooListType"/>
<xs:element name="barElement" type="tns:fooListType"/>

<xs:complexType name="fooListType">
    <xs:sequence>
        <!-- some content here -->
    </xs:sequence>
</xs:complexType>

fooListType_Array.hpp/.cpp is correctly created (and used correctly).
However, in the portType generated class file it attempts to #include
fooElement_Array.hpp.  This is incorrect and is a bug.

Cheers,

Alastair Fettes

This e-mail and any attachments are intended solely for the use of the
intended recipient(s) and may contain legally privileged, proprietary
and/or confidential information.  Any use, disclosure, dissemination,
distribution or copying of this e-mail and any attachments for any
purposes that have not been specifically authorized by the sender is
strictly prohibited.  If you are not the intended recipient, please
immediately notify the sender by reply e-mail and permanently delete all
copies and attachments.

The entire content of this e-mail is for "information purposes" only and
should not be relied upon by the recipient in any way unless otherwise
confirmed in writing by way of letter or facsimile.


Mime
View raw message