You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by na...@apache.org on 2008/10/02 00:28:12 UTC

svn commit: r700954 - /webservices/axis/trunk/c/src/soap/xsd/

Author: nadiramra
Date: Wed Oct  1 15:28:09 2008
New Revision: 700954

URL: http://svn.apache.org/viewvc?rev=700954&view=rev
Log:
AXISCPP-1052 Memory Leak in XSD Types - missing virtual destructor definition in header files

Modified:
    webservices/axis/trunk/c/src/soap/xsd/AnyURI.hpp
    webservices/axis/trunk/c/src/soap/xsd/Base64Binary.hpp
    webservices/axis/trunk/c/src/soap/xsd/Boolean.hpp
    webservices/axis/trunk/c/src/soap/xsd/Byte.hpp
    webservices/axis/trunk/c/src/soap/xsd/Date.hpp
    webservices/axis/trunk/c/src/soap/xsd/DateTime.hpp
    webservices/axis/trunk/c/src/soap/xsd/Decimal.hpp
    webservices/axis/trunk/c/src/soap/xsd/Double.hpp
    webservices/axis/trunk/c/src/soap/xsd/Duration.hpp
    webservices/axis/trunk/c/src/soap/xsd/ENTITIES.hpp
    webservices/axis/trunk/c/src/soap/xsd/ENTITY.hpp
    webservices/axis/trunk/c/src/soap/xsd/Float.hpp
    webservices/axis/trunk/c/src/soap/xsd/GDay.hpp
    webservices/axis/trunk/c/src/soap/xsd/GMonth.hpp
    webservices/axis/trunk/c/src/soap/xsd/GMonthDay.hpp
    webservices/axis/trunk/c/src/soap/xsd/GYear.hpp
    webservices/axis/trunk/c/src/soap/xsd/GYearMonth.hpp
    webservices/axis/trunk/c/src/soap/xsd/HexBinary.hpp
    webservices/axis/trunk/c/src/soap/xsd/ID.hpp
    webservices/axis/trunk/c/src/soap/xsd/IDREF.hpp
    webservices/axis/trunk/c/src/soap/xsd/IDREFS.hpp
    webservices/axis/trunk/c/src/soap/xsd/Int.hpp
    webservices/axis/trunk/c/src/soap/xsd/Integer.hpp
    webservices/axis/trunk/c/src/soap/xsd/Language.hpp
    webservices/axis/trunk/c/src/soap/xsd/Long.hpp
    webservices/axis/trunk/c/src/soap/xsd/NCName.hpp
    webservices/axis/trunk/c/src/soap/xsd/NMTOKEN.hpp
    webservices/axis/trunk/c/src/soap/xsd/NMTOKENS.hpp
    webservices/axis/trunk/c/src/soap/xsd/NOTATION.hpp
    webservices/axis/trunk/c/src/soap/xsd/Name.hpp
    webservices/axis/trunk/c/src/soap/xsd/NegativeInteger.hpp
    webservices/axis/trunk/c/src/soap/xsd/NonNegativeInteger.hpp
    webservices/axis/trunk/c/src/soap/xsd/NonPositiveInteger.hpp
    webservices/axis/trunk/c/src/soap/xsd/NormalizedString.hpp
    webservices/axis/trunk/c/src/soap/xsd/PositiveInteger.hpp
    webservices/axis/trunk/c/src/soap/xsd/Short.hpp
    webservices/axis/trunk/c/src/soap/xsd/String.hpp
    webservices/axis/trunk/c/src/soap/xsd/Time.hpp
    webservices/axis/trunk/c/src/soap/xsd/Token.hpp
    webservices/axis/trunk/c/src/soap/xsd/UnsignedByte.hpp
    webservices/axis/trunk/c/src/soap/xsd/UnsignedInt.hpp
    webservices/axis/trunk/c/src/soap/xsd/UnsignedLong.hpp
    webservices/axis/trunk/c/src/soap/xsd/UnsignedShort.hpp
    webservices/axis/trunk/c/src/soap/xsd/XSD_QName.hpp

Modified: webservices/axis/trunk/c/src/soap/xsd/AnyURI.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/AnyURI.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/AnyURI.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/AnyURI.hpp Wed Oct  1 15:28:09 2008
@@ -45,6 +45,11 @@
      * @param value The value to be serialized
      */
     AnyURI(const xsd__anyURI value);
+    
+    /**
+     * Destructor
+     */
+    virtual ~AnyURI() {};
 
     /**
      * Get the xsd type of this simple type.

Modified: webservices/axis/trunk/c/src/soap/xsd/Base64Binary.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/Base64Binary.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/Base64Binary.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/Base64Binary.hpp Wed Oct  1 15:28:09 2008
@@ -44,7 +44,7 @@
     /**
      * Destructor
      */    
-    ~Base64Binary();
+    virtual ~Base64Binary();
 
     /**
      * Constructor providing a value for later serialization

Modified: webservices/axis/trunk/c/src/soap/xsd/Boolean.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/Boolean.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/Boolean.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/Boolean.hpp Wed Oct  1 15:28:09 2008
@@ -46,7 +46,7 @@
     /**
      * Destructor
      */
-    ~Boolean();
+    virtual ~Boolean();
 
     /**
      * Get the xsd type of this simple type.

Modified: webservices/axis/trunk/c/src/soap/xsd/Byte.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/Byte.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/Byte.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/Byte.hpp Wed Oct  1 15:28:09 2008
@@ -40,7 +40,7 @@
     /**
      * Destructor
      */
-    ~Byte();
+    virtual ~Byte();
 
     /**
      * Constructor providing a value for later serialization

Modified: webservices/axis/trunk/c/src/soap/xsd/Date.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/Date.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/Date.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/Date.hpp Wed Oct  1 15:28:09 2008
@@ -47,6 +47,11 @@
      * @param value The value to be serialized
      */
     Date(const xsd__date* value);
+    
+    /**
+     * Destructor
+     */
+    virtual ~Date() { }
 
     /**
      * Get the xsd type of this simple type.

Modified: webservices/axis/trunk/c/src/soap/xsd/DateTime.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/DateTime.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/DateTime.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/DateTime.hpp Wed Oct  1 15:28:09 2008
@@ -51,7 +51,7 @@
     /**
      * Destructor
      */
-    ~DateTime();
+    virtual ~DateTime();
 
     /**
      * Get the xsd type of this simple type.

Modified: webservices/axis/trunk/c/src/soap/xsd/Decimal.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/Decimal.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/Decimal.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/Decimal.hpp Wed Oct  1 15:28:09 2008
@@ -46,7 +46,7 @@
     /**
      * Destructor
      */
-    ~Decimal();
+    virtual ~Decimal();
 
     /**
      * Constructor providing a value for later serialization

Modified: webservices/axis/trunk/c/src/soap/xsd/Double.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/Double.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/Double.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/Double.hpp Wed Oct  1 15:28:09 2008
@@ -46,6 +46,11 @@
      * @param value The value to be serialized
      */
     Double(const xsd__double* value);
+    
+    /**
+     * Destructor
+     */
+    virtual ~Double() { }
  
      /**
      * Get the xsd type of this simple type.

Modified: webservices/axis/trunk/c/src/soap/xsd/Duration.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/Duration.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/Duration.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/Duration.hpp Wed Oct  1 15:28:09 2008
@@ -47,6 +47,11 @@
      * @param value The value to be serialized
      */
     Duration(const xsd__duration* value);
+    
+    /**
+     * Destructor
+     */
+    virtual ~Duration() { }
 
     /**
      * Get the xsd type of this simple type.

Modified: webservices/axis/trunk/c/src/soap/xsd/ENTITIES.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/ENTITIES.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/ENTITIES.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/ENTITIES.hpp Wed Oct  1 15:28:09 2008
@@ -44,6 +44,11 @@
     ENTITIES(const xsd__ENTITIES value);
 
     /**
+     * Destructor
+     */
+    virtual ~ENTITIES() { }    
+    
+    /**
      * Get the xsd type of this simple type.
      * @return the xsd type of this simple type
      */

Modified: webservices/axis/trunk/c/src/soap/xsd/ENTITY.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/ENTITY.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/ENTITY.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/ENTITY.hpp Wed Oct  1 15:28:09 2008
@@ -44,6 +44,11 @@
     ENTITY(const xsd__ENTITY value);
 
     /**
+     * Destructor
+     */
+    virtual ~ENTITY() { }   
+    
+    /**
      * Get the xsd type of this simple type.
      * @return the xsd type of this simple type
      */

Modified: webservices/axis/trunk/c/src/soap/xsd/Float.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/Float.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/Float.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/Float.hpp Wed Oct  1 15:28:09 2008
@@ -51,7 +51,7 @@
     /**
      * Destructor
      */
-    ~Float();
+    virtual ~Float();
 
     /**
      * Get the xsd type of this simple type.

Modified: webservices/axis/trunk/c/src/soap/xsd/GDay.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/GDay.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/GDay.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/GDay.hpp Wed Oct  1 15:28:09 2008
@@ -49,6 +49,11 @@
     GDay(const xsd__gDay* value);
 
     /**
+     * Destructor
+     */
+    virtual ~GDay() { }   
+    
+    /**
      * Get the xsd type of this simple type.
      * @return the xsd type of this simple type
      */

Modified: webservices/axis/trunk/c/src/soap/xsd/GMonth.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/GMonth.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/GMonth.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/GMonth.hpp Wed Oct  1 15:28:09 2008
@@ -49,6 +49,11 @@
     GMonth(const xsd__gMonth* value);
 
     /**
+     * Destructor
+     */
+    virtual ~GMonth() { }   
+    
+    /**
      * Get the xsd type of this simple type.
      * @return the xsd type of this simple type
      */

Modified: webservices/axis/trunk/c/src/soap/xsd/GMonthDay.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/GMonthDay.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/GMonthDay.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/GMonthDay.hpp Wed Oct  1 15:28:09 2008
@@ -49,6 +49,11 @@
     GMonthDay(const xsd__gMonthDay* value);
 
     /**
+     * Destructor
+     */
+    virtual ~GMonthDay() { }   
+    
+    /**
      * Get the xsd type of this simple type.
      * @return the xsd type of this simple type
      */

Modified: webservices/axis/trunk/c/src/soap/xsd/GYear.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/GYear.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/GYear.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/GYear.hpp Wed Oct  1 15:28:09 2008
@@ -49,6 +49,11 @@
     GYear(const xsd__gYear* value);
     
     /**
+     * Destructor
+     */
+    virtual ~GYear() { }   
+    
+    /**
      * Get the xsd type of this simple type.
      * @return the xsd type of this simple type
      */

Modified: webservices/axis/trunk/c/src/soap/xsd/GYearMonth.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/GYearMonth.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/GYearMonth.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/GYearMonth.hpp Wed Oct  1 15:28:09 2008
@@ -49,6 +49,11 @@
     GYearMonth(const xsd__gYearMonth* value);
 
     /**
+     * Destructor
+     */
+    virtual ~GYearMonth() { }   
+    
+    /**
      * Get the xsd type of this simple type.
      * @return the xsd type of this simple type
      */

Modified: webservices/axis/trunk/c/src/soap/xsd/HexBinary.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/HexBinary.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/HexBinary.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/HexBinary.hpp Wed Oct  1 15:28:09 2008
@@ -45,7 +45,7 @@
    /**
     * Destructor.
     */
-    ~HexBinary();
+    virtual ~HexBinary();
 
         /**
      * Constructor providing a value for later serialization

Modified: webservices/axis/trunk/c/src/soap/xsd/ID.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/ID.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/ID.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/ID.hpp Wed Oct  1 15:28:09 2008
@@ -44,6 +44,11 @@
     ID(const xsd__ID value);
 
     /**
+     * Destructor
+     */
+    virtual ~ID() { }   
+    
+    /**
      * Get the xsd type of this simple type.
      * @return the xsd type of this simple type
      */

Modified: webservices/axis/trunk/c/src/soap/xsd/IDREF.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/IDREF.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/IDREF.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/IDREF.hpp Wed Oct  1 15:28:09 2008
@@ -44,6 +44,11 @@
     IDREF(const xsd__IDREF value);
 
     /**
+     * Destructor
+     */
+    virtual ~IDREF() { }   
+    
+    /**
      * Get the xsd type of this simple type.
      * @return the xsd type of this simple type
      */

Modified: webservices/axis/trunk/c/src/soap/xsd/IDREFS.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/IDREFS.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/IDREFS.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/IDREFS.hpp Wed Oct  1 15:28:09 2008
@@ -44,6 +44,11 @@
     IDREFS(const xsd__IDREFS value);
 
     /**
+     * Destructor
+     */
+    virtual ~IDREFS() { }   
+    
+    /**
      * Get the xsd type of this simple type.
      * @return the xsd type of this simple type
      */

Modified: webservices/axis/trunk/c/src/soap/xsd/Int.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/Int.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/Int.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/Int.hpp Wed Oct  1 15:28:09 2008
@@ -40,7 +40,7 @@
     /**
      * Destructor
      */
-    ~Int();
+    virtual ~Int();
 
     /**
      * Constructor providing a value for later serialization

Modified: webservices/axis/trunk/c/src/soap/xsd/Integer.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/Integer.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/Integer.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/Integer.hpp Wed Oct  1 15:28:09 2008
@@ -41,7 +41,7 @@
     /**
      * Destructor
      */
-    ~Integer();
+    virtual ~Integer();
 
     /**
      * Constructor providing a value for later serialization

Modified: webservices/axis/trunk/c/src/soap/xsd/Language.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/Language.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/Language.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/Language.hpp Wed Oct  1 15:28:09 2008
@@ -44,6 +44,11 @@
     Language(const xsd__language value);
 
     /**
+     * Destructor
+     */
+    virtual ~Language() { }   
+    
+    /**
      * Get the xsd type of this simple type.
      * @return the xsd type of this simple type
      */

Modified: webservices/axis/trunk/c/src/soap/xsd/Long.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/Long.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/Long.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/Long.hpp Wed Oct  1 15:28:09 2008
@@ -39,7 +39,7 @@
     /**
      * Destructor
      */
-    ~Long();
+    virtual ~Long();
 
     /**
      * Constructor providing a value for later serialization

Modified: webservices/axis/trunk/c/src/soap/xsd/NCName.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/NCName.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/NCName.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/NCName.hpp Wed Oct  1 15:28:09 2008
@@ -44,6 +44,11 @@
     NCName(const xsd__NCName value);
 
     /**
+     * Destructor
+     */
+    virtual ~NCName() { }   
+    
+    /**
      * Get the xsd type of this simple type.
      * @return the xsd type of this simple type
      */

Modified: webservices/axis/trunk/c/src/soap/xsd/NMTOKEN.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/NMTOKEN.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/NMTOKEN.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/NMTOKEN.hpp Wed Oct  1 15:28:09 2008
@@ -44,6 +44,11 @@
     NMTOKEN(const xsd__NMTOKEN value);
 
     /**
+     * Destructor
+     */
+    virtual ~NMTOKEN() { }   
+    
+    /**
      * Get the xsd type of this simple type.
      * @return the xsd type of this simple type
      */

Modified: webservices/axis/trunk/c/src/soap/xsd/NMTOKENS.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/NMTOKENS.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/NMTOKENS.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/NMTOKENS.hpp Wed Oct  1 15:28:09 2008
@@ -44,6 +44,11 @@
     NMTOKENS(const xsd__NMTOKENS value);
 
     /**
+     * Destructor
+     */
+    virtual ~NMTOKENS() { }   
+    
+    /**
      * Get the xsd type of this simple type.
      * @return the xsd type of this simple type
      */

Modified: webservices/axis/trunk/c/src/soap/xsd/NOTATION.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/NOTATION.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/NOTATION.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/NOTATION.hpp Wed Oct  1 15:28:09 2008
@@ -47,6 +47,11 @@
     NOTATION(const xsd__NOTATION value);
 
     /**
+     * Destructor
+     */
+    virtual ~NOTATION() { }  
+    
+    /**
      * Get the xsd type of this simple type.
      * @return the xsd type of this simple type
      */

Modified: webservices/axis/trunk/c/src/soap/xsd/Name.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/Name.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/Name.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/Name.hpp Wed Oct  1 15:28:09 2008
@@ -44,6 +44,11 @@
     Name(const xsd__Name value);
 
     /**
+     * Destructor
+     */
+    virtual ~Name() { }   
+    
+    /**
      * Get the xsd type of this simple type.
      * @return the xsd type of this simple type
      */

Modified: webservices/axis/trunk/c/src/soap/xsd/NegativeInteger.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/NegativeInteger.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/NegativeInteger.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/NegativeInteger.hpp Wed Oct  1 15:28:09 2008
@@ -44,6 +44,11 @@
     NegativeInteger(const xsd__negativeInteger* value) throw (AxisSoapException);
 
     /**
+     * Destructor
+     */
+    virtual ~NegativeInteger() { }   
+    
+    /**
      * Get the xsd type of this simple type.
      * @return the xsd type of this simple type
      */

Modified: webservices/axis/trunk/c/src/soap/xsd/NonNegativeInteger.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/NonNegativeInteger.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/NonNegativeInteger.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/NonNegativeInteger.hpp Wed Oct  1 15:28:09 2008
@@ -40,7 +40,7 @@
     /**
      * Destructor
      */
-    ~NonNegativeInteger();
+    virtual ~NonNegativeInteger();
 
     /**
      * Constructor providing a value for later serialization

Modified: webservices/axis/trunk/c/src/soap/xsd/NonPositiveInteger.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/NonPositiveInteger.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/NonPositiveInteger.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/NonPositiveInteger.hpp Wed Oct  1 15:28:09 2008
@@ -46,7 +46,7 @@
     /**
      * Destructor
      */
-    ~NonPositiveInteger();
+    virtual ~NonPositiveInteger();
 
     /**
      * Get the xsd type of this simple type.

Modified: webservices/axis/trunk/c/src/soap/xsd/NormalizedString.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/NormalizedString.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/NormalizedString.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/NormalizedString.hpp Wed Oct  1 15:28:09 2008
@@ -44,6 +44,11 @@
     NormalizedString(const xsd__normalizedString value);
 
     /**
+     * Destructor
+     */
+    virtual ~NormalizedString() { }   
+    
+    /**
      * Get the xsd type of this simple type.
      * @return the xsd type of this simple type
      */

Modified: webservices/axis/trunk/c/src/soap/xsd/PositiveInteger.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/PositiveInteger.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/PositiveInteger.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/PositiveInteger.hpp Wed Oct  1 15:28:09 2008
@@ -44,6 +44,11 @@
     PositiveInteger(const xsd__positiveInteger* value) throw (AxisSoapException);
 
     /**
+     * Destructor
+     */
+    virtual ~PositiveInteger() { }  
+    
+    /**
      * Get the xsd type of this simple type.
      * @return the xsd type of this simple type
      */

Modified: webservices/axis/trunk/c/src/soap/xsd/Short.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/Short.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/Short.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/Short.hpp Wed Oct  1 15:28:09 2008
@@ -40,7 +40,7 @@
     /**
      * Destructor
      */
-    ~Short();
+    virtual ~Short();
 
     /**
      * Constructor providing a value for later serialization

Modified: webservices/axis/trunk/c/src/soap/xsd/String.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/String.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/String.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/String.hpp Wed Oct  1 15:28:09 2008
@@ -47,6 +47,11 @@
     String(const xsd__string value);
 
     /**
+     * Destructor
+     */
+    virtual ~String() { }
+
+    /**
      * Get the xsd type of this simple type.
      * @return the xsd type of this simple type
      */

Modified: webservices/axis/trunk/c/src/soap/xsd/Time.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/Time.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/Time.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/Time.hpp Wed Oct  1 15:28:09 2008
@@ -49,6 +49,11 @@
     Time(const xsd__time* value);
 
     /**
+     * Destructor
+     */
+    virtual ~Time() { }
+
+    /**
      * Get the xsd type of this simple type.
      * @return the xsd type of this simple type
      */

Modified: webservices/axis/trunk/c/src/soap/xsd/Token.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/Token.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/Token.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/Token.hpp Wed Oct  1 15:28:09 2008
@@ -44,6 +44,11 @@
     Token(const xsd__token value);
 
     /**
+     * Destructor
+     */
+    virtual ~Token() { }
+
+    /**
      * Get the xsd type of this simple type.
      * @return the xsd type of this simple type
      */

Modified: webservices/axis/trunk/c/src/soap/xsd/UnsignedByte.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/UnsignedByte.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/UnsignedByte.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/UnsignedByte.hpp Wed Oct  1 15:28:09 2008
@@ -46,7 +46,7 @@
     /**
      * Destructor
      */
-    ~UnsignedByte();
+    virtual ~UnsignedByte();
 
     /**
      * Get the xsd type of this simple type.

Modified: webservices/axis/trunk/c/src/soap/xsd/UnsignedInt.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/UnsignedInt.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/UnsignedInt.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/UnsignedInt.hpp Wed Oct  1 15:28:09 2008
@@ -46,7 +46,7 @@
     /**
      * Destructor
      */
-    ~UnsignedInt();
+    virtual ~UnsignedInt();
 
     /**
      * Get the xsd type of this simple type.

Modified: webservices/axis/trunk/c/src/soap/xsd/UnsignedLong.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/UnsignedLong.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/UnsignedLong.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/UnsignedLong.hpp Wed Oct  1 15:28:09 2008
@@ -46,7 +46,7 @@
     /**
      * Destructor
      */
-    ~UnsignedLong();
+    virtual ~UnsignedLong();
 
     /**
      * Get the xsd type of this simple type.

Modified: webservices/axis/trunk/c/src/soap/xsd/UnsignedShort.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/UnsignedShort.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/UnsignedShort.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/UnsignedShort.hpp Wed Oct  1 15:28:09 2008
@@ -47,7 +47,7 @@
     /**
      * Destructor
      */
-    ~UnsignedShort();
+    virtual ~UnsignedShort();
 
     /**
      * Get the xsd type of this simple type.

Modified: webservices/axis/trunk/c/src/soap/xsd/XSD_QName.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/xsd/XSD_QName.hpp?rev=700954&r1=700953&r2=700954&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/xsd/XSD_QName.hpp (original)
+++ webservices/axis/trunk/c/src/soap/xsd/XSD_QName.hpp Wed Oct  1 15:28:09 2008
@@ -47,6 +47,11 @@
     XSD_QName(const xsd__QName value);
 
     /**
+     * Destructor
+     */
+    virtual ~XSD_QName() { }
+
+    /**
      * Get the xsd type of this simple type.
      * @return the xsd type of this simple type
      */