From axis-c-dev-return-12793-apmail-ws-axis-c-dev-archive=ws.apache.org@ws.apache.org Wed Dec 27 09:48:29 2006 Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 56906 invoked from network); 27 Dec 2006 09:48:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Dec 2006 09:48:28 -0000 Received: (qmail 45695 invoked by uid 500); 27 Dec 2006 09:48:35 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 45549 invoked by uid 500); 27 Dec 2006 09:48:35 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 45538 invoked by uid 99); 27 Dec 2006 09:48:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Dec 2006 01:48:35 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [194.139.105.20] (HELO ns3.isogmbh.de) (194.139.105.20) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 27 Dec 2006 01:48:24 -0800 Received: (qmail 30160 invoked from network); 27 Dec 2006 09:48:01 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on ns3.nbg.isogmbh.de X-Spam-Level: Received: from unknown (HELO ?185.2.10.89?) (192.168.81.11) by mail.dmz.isogmbh.de with SMTP; 27 Dec 2006 09:48:00 -0000 Message-ID: <459241EB.4040708@isogmbh.de> Date: Wed, 27 Dec 2006 10:50:35 +0100 From: Franz Fehringer User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Apache AXIS C Developers List Subject: Re: [jira] Commented: (AXISCPP-918) generated copy constructor wrong/incomplete References: <22504793.1167099261687.JavaMail.jira@brutus> In-Reply-To: <22504793.1167099261687.JavaMail.jira@brutus> Content-Type: multipart/mixed; boundary="------------070800000504010505070507" X-ISOAntiVirus: scanned for viruses by ISO Mail-Scanner X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-103.6 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, HTML_30_40,HTML_MESSAGE,USER_IN_WHITELIST autolearn=ham version=3.1.3 --------------070800000504010505070507 Content-Type: multipart/alternative; boundary="------------080801010004080101050205" --------------080801010004080101050205 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit yes for some time already. franz nadir amra (JIRA) schrieb: > [ http://issues.apache.org/jira/browse/AXISCPP-918?page=comments#action_12460839 ] > > nadir amra commented on AXISCPP-918: > ------------------------------------ > > I believe it has been included in SVN.... > > >> generated copy constructor wrong/incomplete >> ------------------------------------------- >> >> Key: AXISCPP-918 >> URL: http://issues.apache.org/jira/browse/AXISCPP-918 >> Project: Axis-C++ >> Issue Type: Bug >> Components: Client - Stub >> Affects Versions: 1.6 Alpha >> Environment: WIN2KSP4 JDK1.5.0_06 MSVC6SP6 >> Reporter: Franz Fehringer >> Attachments: t_Children.cpp, vakanz.wsdl, vakanz.xsd >> >> >> Wsdl2ws generates for the t_Children class from my attached example an incomplete copy constructor. >> Only one of two class members gets copied (age), the other is omitted (t_Children_value). >> Additional comments: >> Initialization instead of assignment should be used in constructors. >> For this simple example no copy constructor should be generated at all, since the compiler does it right without a line of code. >> Last, if a userdefined copy constructor is to be provided, a user defined assignment operator should be provided too. >> > > --------------080801010004080101050205 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit yes for some timeĀ  already.

franz


nadir amra (JIRA) schrieb:
    [ http://issues.apache.org/jira/browse/AXISCPP-918?page=comments#action_12460839 ] 
            
nadir amra commented on AXISCPP-918:
------------------------------------

I believe it has been included in SVN....

  
generated copy constructor wrong/incomplete
-------------------------------------------

                Key: AXISCPP-918
                URL: http://issues.apache.org/jira/browse/AXISCPP-918
            Project: Axis-C++
         Issue Type: Bug
         Components: Client - Stub
   Affects Versions: 1.6 Alpha
        Environment: WIN2KSP4 JDK1.5.0_06 MSVC6SP6
           Reporter: Franz Fehringer
        Attachments: t_Children.cpp, vakanz.wsdl, vakanz.xsd


Wsdl2ws generates for the t_Children class from my attached example an incomplete copy constructor.
Only one of two class members gets copied (age), the other is omitted (t_Children_value).
Additional comments:
Initialization instead of assignment should be used in constructors.
For this simple example no copy constructor should be generated at all, since the compiler does it right without a line of code.
Last, if a userdefined copy constructor is to be provided, a user defined assignment operator should be provided too.
    

  

--------------080801010004080101050205-- --------------070800000504010505070507 Content-Type: text/x-vcard; charset=utf-8; name="feh.vcf" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="feh.vcf" YmVnaW46dmNhcmQNCmZuOkRyLiBGcmFueiBGZWhyaW5nZXINCm46RmVocmluZ2VyO0ZyYW56 DQpvcmc6SVNPIFNvZnR3YXJlIFN5c3RlbWUNCmFkcjtxdW90ZWQtcHJpbnRhYmxlOjs7RWlj aGVuZG9yZmZzdHJhc3NlIDI5O049QzM9QkNybmJlcmc7OzkwNDkxO0RldXRzY2hsYW5kDQpl bWFpbDtpbnRlcm5ldDptYWlsdG86ZmVoQGlzb2dtYmguZGUNCnRlbDt3b3JrOis0OS8oOTEx KSAtIDk5NTk0LTAgDQp0ZWw7ZmF4Ois0OS8oOTExKSAtIDk5NTk0LTU4MA0KeC1tb3ppbGxh LWh0bWw6VFJVRQ0KdXJsOmh0dHA6Ly93d3cuaXNvZ21iaC5kZS8NCnZlcnNpb246Mi4xDQpl bmQ6dmNhcmQNCg0K --------------070800000504010505070507 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-dev-help@ws.apache.org --------------070800000504010505070507--