axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r411506 [2/27] - in /webservices/axis2/trunk/c: axiom/include/ axiom/src/attachments/ axiom/src/om/ axiom/src/parser/guththila/ axiom/src/parser/libxml2/ axiom/src/soap/ axiom/test/om/ axiom/test/soap/ guththila/src/ include/ modules/core/c...
Date Sun, 04 Jun 2006 03:09:41 GMT
Modified: webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_value.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_value.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_value.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_value.h Sat Jun  3 20:09:08 2006
@@ -53,27 +53,27 @@
         */
 
         axis2_status_t (AXIS2_CALL *
-		free_fn)(axis2_soap_fault_value_t *fault_value,
+      free_fn)(axis2_soap_fault_value_t *fault_value,
                  const axis2_env_t *env);
-		
-		/**
-		  * Get the text value of the env:Value element directly under env:Code element
-		  * @param fault_value pointer to axis2_soap_fault_t
-		  * @param env Environment. MUST NOT BE NULL
-		  * @return text value 
-		  */
-		axis2_char_t* (AXIS2_CALL *
-		get_text)(axis2_soap_fault_value_t *fault_value,
-				const axis2_env_t *env);	
-		
-		/**
-		  * Set the text value of the env:Value element directly under env:Code element
-		  * @param fault_value pointer to axis2_soap_fault_t
-		  * @param env Environment. MUST NOT BE NULL
-		  * @param text value to be set
-		  */
+      
+      /**
+        * Get the text value of the env:Value element directly under env:Code element
+        * @param fault_value pointer to axis2_soap_fault_t
+        * @param env Environment. MUST NOT BE NULL
+        * @return text value 
+        */
+      axis2_char_t* (AXIS2_CALL *
+      get_text)(axis2_soap_fault_value_t *fault_value,
+            const axis2_env_t *env);   
+      
+      /**
+        * Set the text value of the env:Value element directly under env:Code element
+        * @param fault_value pointer to axis2_soap_fault_t
+        * @param env Environment. MUST NOT BE NULL
+        * @param text value to be set
+        */
         axis2_om_node_t* (AXIS2_CALL *
-		get_base_node)(axis2_soap_fault_value_t *fault_value,
+      get_base_node)(axis2_soap_fault_value_t *fault_value,
                        const axis2_env_t *env);
         /**
          * set the text value of soap_fault_value element 
@@ -83,9 +83,9 @@
          */
                                 
         axis2_status_t (AXIS2_CALL *
-		set_text)(axis2_soap_fault_value_t *fault_value,
-				const axis2_env_t *env, axis2_char_t *text);	
-				
+      set_text)(axis2_soap_fault_value_t *fault_value,
+            const axis2_env_t *env, axis2_char_t *text);   
+            
     };      
 
   /**
@@ -125,10 +125,10 @@
         ((fault_value)->ops->get_base_node(fault_value, env))         
 
 #define AXIS2_SOAP_FAULT_VALUE_GET_TEXT(fault_value, env) \
-		((fault_value)->ops->get_text(fault_value, env))
-		
+      ((fault_value)->ops->get_text(fault_value, env))
+      
 #define AXIS2_SOAP_FAULT_VALUE_SET_TEXT(fault_value, env, text) \
-        ((fault_value)->ops->set_text(fault_value, env, text))		
+        ((fault_value)->ops->set_text(fault_value, env, text))      
 /** @} */
 
 #ifdef __cplusplus

Modified: webservices/axis2/trunk/c/axiom/include/axis2_soap_header.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axis2_soap_header.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axis2_soap_header.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axis2_soap_header.h Sat Jun  3 20:09:08 2006
@@ -62,7 +62,7 @@
         *         else AXIS2_FAILURE
         */
         axis2_status_t (AXIS2_CALL *
-		free_fn)(axis2_soap_header_t *header,
+      free_fn)(axis2_soap_header_t *header,
                  const axis2_env_t *env);
                                              
        /**
@@ -74,10 +74,10 @@
         * @return The newly created axis2_soap_header_block_t struct
         */
         struct axis2_soap_header_block* (AXIS2_CALL *
-		add_header_block)(axis2_soap_header_t* header,
-		        		  const axis2_env_t *env,
-						  axis2_char_t *localname,
-						  axis2_om_namespace_t *ns); 
+      add_header_block)(axis2_soap_header_t* header,
+                      const axis2_env_t *env,
+                    axis2_char_t *localname,
+                    axis2_om_namespace_t *ns); 
        /**
         * returns a hash_table of all the soap_header_block_t  struct in this
         * soap_header_t  object that have the the specified actor. An
@@ -89,7 +89,7 @@
         * destination.
         */
         axis2_hash_t* (AXIS2_CALL *
-		examine_header_blocks)(axis2_soap_header_t* header,
+      examine_header_blocks)(axis2_soap_header_t* header,
                                const axis2_env_t *env,
                                axis2_char_t* param_role);
        /**
@@ -102,9 +102,9 @@
         * The returned array_list must be freed by the user.
         */
         axis2_array_list_t* (AXIS2_CALL *
-		get_header_blocks_with_namespace_uri)(axis2_soap_header_t* header,
+      get_header_blocks_with_namespace_uri)(axis2_soap_header_t* header,
                                               const axis2_env_t *env,
-                                         	  axis2_char_t *ns_uri);
+                                              axis2_char_t *ns_uri);
        /**
         * returns an iterator to iterate through all soap header block's om nodes 
         * @param header 
@@ -113,7 +113,7 @@
         * present
         */
         axis2_om_children_qname_iterator_t* (AXIS2_CALL *
-		examine_all_header_blocks)(axis2_soap_header_t* header,
+      examine_all_header_blocks)(axis2_soap_header_t* header,
                                    const axis2_env_t *env);
        /**
         * returns an iterator to iterate through all  header blocks om_nodes 
@@ -125,7 +125,7 @@
         * role attribute
         */
         axis2_om_children_with_specific_attribute_iterator_t *(AXIS2_CALL *
-		extract_header_blocks)(axis2_soap_header_t *header,
+      extract_header_blocks)(axis2_soap_header_t *header,
                                const axis2_env_t *env,
                                axis2_char_t *role);
                                          
@@ -136,7 +136,7 @@
         * @return axis2_om_node_t
         */
         axis2_om_node_t* (AXIS2_CALL *
-		get_base_node)(axis2_soap_header_t *header,
+      get_base_node)(axis2_soap_header_t *header,
                        const axis2_env_t *env);
         /**
          *  return the soap_version of this soap_header
@@ -145,15 +145,15 @@
          *  @return AXIS2_SOAP11 or AXIS2_SOAP12
          */
        int  (AXIS2_CALL *
-	   get_soap_version) (axis2_soap_header_t *header,
+      get_soap_version) (axis2_soap_header_t *header,
                           const axis2_env_t *env);
         
          
        /**
-	    * @returns a hash table of all header_blocks in this header
-		*/
+       * @returns a hash table of all header_blocks in this header
+      */
        axis2_hash_t* (AXIS2_CALL *
-	   get_all_header_blocks)(axis2_soap_header_t *header,
+      get_all_header_blocks)(axis2_soap_header_t *header,
                                const axis2_env_t *env);                                                
                                          
     };

Modified: webservices/axis2/trunk/c/axiom/include/axis2_soap_header_block.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axis2_soap_header_block.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axis2_soap_header_block.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axis2_soap_header_block.h Sat Jun  3 20:09:08 2006
@@ -56,62 +56,62 @@
         *         else AXIS2_FAILURE
         */
         axis2_status_t (AXIS2_CALL *
-		free_fn)(axis2_soap_header_block_t *header_block,
+      free_fn)(axis2_soap_header_block_t *header_block,
                  const axis2_env_t *env);
                                              
         axis2_status_t (AXIS2_CALL *
-		set_role)(axis2_soap_header_block_t *header_block,
+      set_role)(axis2_soap_header_block_t *header_block,
                   const axis2_env_t *env,
                   axis2_char_t *uri);  
         
         axis2_status_t (AXIS2_CALL *
-		set_must_understand_with_bool)(axis2_soap_header_block_t *header_block,
-                             		   const axis2_env_t *env,
-                             	 	   axis2_bool_t *must_understand);
+      set_must_understand_with_bool)(axis2_soap_header_block_t *header_block,
+                                      const axis2_env_t *env,
+                                       axis2_bool_t *must_understand);
                              
         axis2_status_t (AXIS2_CALL *
-		set_must_understand_with_string)(axis2_soap_header_block_t *header_block,
-                             			 const axis2_env_t *env,
-                             			 axis2_char_t *must_understand);
+      set_must_understand_with_string)(axis2_soap_header_block_t *header_block,
+                                       const axis2_env_t *env,
+                                       axis2_char_t *must_understand);
                                              
         axis2_bool_t (AXIS2_CALL *
-		get_must_understand)(axis2_soap_header_block_t *header_block,
+      get_must_understand)(axis2_soap_header_block_t *header_block,
                              const axis2_env_t *env);
                              
                              
         axis2_bool_t (AXIS2_CALL *
-		is_processed)(axis2_soap_header_block_t *header_block,
+      is_processed)(axis2_soap_header_block_t *header_block,
                       const axis2_env_t *env);
                              
         axis2_status_t (AXIS2_CALL *
-		set_processed)(axis2_soap_header_block_t *header_block,
+      set_processed)(axis2_soap_header_block_t *header_block,
                        const axis2_env_t *env);
-					   
+                  
         axis2_char_t* (AXIS2_CALL *
-		get_role)(axis2_soap_header_block_t *header_block,
+      get_role)(axis2_soap_header_block_t *header_block,
                   const axis2_env_t *env);
           
         axis2_status_t (AXIS2_CALL *
-		set_attribute)(axis2_soap_header_block_t *header_block,
+      set_attribute)(axis2_soap_header_block_t *header_block,
                        const axis2_env_t *env,
                        axis2_char_t *attr_name,
                        axis2_char_t *attr_value,
                        axis2_char_t *soap_envelope_namespace_uri);
-					   
+                  
                              
         axis2_char_t* (AXIS2_CALL *
-		get_attribute)(axis2_soap_header_block_t *header_block,
+      get_attribute)(axis2_soap_header_block_t *header_block,
                        const axis2_env_t *env,
                        axis2_char_t *attr_name,
                        axis2_char_t *soap_envelope_namespace_uri);                            
                                        
                                               
         axis2_om_node_t* (AXIS2_CALL *
-		get_base_node)(axis2_soap_header_block_t *header_block,
+      get_base_node)(axis2_soap_header_block_t *header_block,
                        const axis2_env_t *env);
         
         int (AXIS2_CALL *
-		get_soap_version)(axis2_soap_header_block_t *header_block,
+      get_soap_version)(axis2_soap_header_block_t *header_block,
                           const axis2_env_t *env);
 
     };

Modified: webservices/axis2/trunk/c/axiom/include/axis2_soap_message.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axis2_soap_message.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axis2_soap_message.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axis2_soap_message.h Sat Jun  3 20:09:08 2006
@@ -56,15 +56,15 @@
         */
 
         axis2_status_t (AXIS2_CALL *
-		free_fn)(axis2_soap_message_t *message,
+      free_fn)(axis2_soap_message_t *message,
                  const axis2_env_t *env);
                                              
         axis2_soap_envelope_t* (AXIS2_CALL *
-		get_soap_envelope)(axis2_soap_message_t *message,
+      get_soap_envelope)(axis2_soap_message_t *message,
                            const axis2_env_t *env);
                                              
         axis2_status_t (AXIS2_CALL *
-		serialize)(axis2_soap_message_t *message,
+      serialize)(axis2_soap_message_t *message,
                    const axis2_env_t *env,
                    axis2_om_output_t *om_output);
                                                        

Modified: webservices/axis2/trunk/c/axiom/include/axis2_xml_reader.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axis2_xml_reader.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axis2_xml_reader.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axis2_xml_reader.h Sat Jun  3 20:09:08 2006
@@ -19,7 +19,7 @@
 #define AXIS2_XML_READER_H
 
 /**
- *@file axis2_xml_reader.h	
+ *@file axis2_xml_reader.h   
  *@brief this is the parser abstraction layer for axis2 
  */
 
@@ -72,9 +72,9 @@
          */
         
         int (AXIS2_CALL *
-		next)(axis2_xml_reader_t *parser,
+      next)(axis2_xml_reader_t *parser,
               const axis2_env_t *env);
-		
+      
          /**
          * free pull_parser
          * @param parser axis2_xml_reader struct 
@@ -83,7 +83,7 @@
          */
         
         axis2_status_t (AXIS2_CALL *
-		free)(axis2_xml_reader_t *parser,
+      free)(axis2_xml_reader_t *parser,
               const axis2_env_t *env);
         /**
          * Get the Number of attributes in the current element 
@@ -93,9 +93,9 @@
          */  
         
         int (AXIS2_CALL *
-		get_attribute_count)(axis2_xml_reader_t *parser,
+      get_attribute_count)(axis2_xml_reader_t *parser,
                              const axis2_env_t *env);
-							 
+                      
                                               
        /** This is used to get an attribute's localname using an index relative to 
          * current element.The iterations are not zero based. 
@@ -107,7 +107,7 @@
          *          caller must free the value using AXIS2_XML_READER_XML_FREE macro         
          */
         axis2_char_t* (AXIS2_CALL *
-		get_attribute_name_by_number)(axis2_xml_reader_t *parser,
+      get_attribute_name_by_number)(axis2_xml_reader_t *parser,
                                       const axis2_env_t *env,
                                       int i);
                                                      
@@ -122,7 +122,7 @@
          */                                                     
         
         axis2_char_t* (AXIS2_CALL *
-		get_attribute_prefix_by_number)(axis2_xml_reader_t *parser,
+      get_attribute_prefix_by_number)(axis2_xml_reader_t *parser,
                                         const axis2_env_t *env,
                                         int i);
                                                      
@@ -137,7 +137,7 @@
          */        
                                              
         axis2_char_t* (AXIS2_CALL *
-		get_attribute_value_by_number)(axis2_xml_reader_t *parser,
+      get_attribute_value_by_number)(axis2_xml_reader_t *parser,
                                        const axis2_env_t *env,
                                        int i);
         
@@ -152,10 +152,10 @@
          */ 
         
         axis2_char_t* (AXIS2_CALL *
-		get_attribute_namespace_by_number)(axis2_xml_reader_t *parser,
+      get_attribute_namespace_by_number)(axis2_xml_reader_t *parser,
                                            const axis2_env_t *env,
                                            int i);
-										   
+                                 
        /** returns the text value of current element
          * @param parser pointer to parser
          * @param env environment, MUST not be NULL
@@ -164,7 +164,7 @@
          */
                                 
         axis2_char_t* (AXIS2_CALL *
-		get_value)(axis2_xml_reader_t *parser,
+      get_value)(axis2_xml_reader_t *parser,
                    const axis2_env_t *env);
         
         /**
@@ -174,7 +174,7 @@
          * @returns namespace count of current element,
          */
         int (AXIS2_CALL *
-		get_namespace_count)(axis2_xml_reader_t *parser,
+      get_namespace_count)(axis2_xml_reader_t *parser,
                              const axis2_env_t *env);
         /**
          * access the namespace uri of the namespaces declared in current element 
@@ -186,7 +186,7 @@
          *          caller must free the value using AXIS2_XML_READER_XML_FREE macro         
          */
         axis2_char_t* (AXIS2_CALL *
-		get_namespace_uri_by_number)(axis2_xml_reader_t *parser,
+      get_namespace_uri_by_number)(axis2_xml_reader_t *parser,
                                      const axis2_env_t *env,
                                      int i);
         /**
@@ -199,7 +199,7 @@
          * caller must free the value using AXIS2_XML_READER_XML_FREE macro         
          */                                               
         axis2_char_t* (AXIS2_CALL *
-		get_namespace_prefix_by_number)(axis2_xml_reader_t *parser,
+      get_namespace_prefix_by_number)(axis2_xml_reader_t *parser,
                                         const axis2_env_t *env,
                                         int i); 
         /**
@@ -211,7 +211,7 @@
          */         
         
         axis2_char_t* (AXIS2_CALL *
-		get_prefix)(axis2_xml_reader_t *parser,
+      get_prefix)(axis2_xml_reader_t *parser,
                     const axis2_env_t *env);   
         /**
          *  Used to obtain the current element localname
@@ -221,7 +221,7 @@
          *          caller must free the value using AXIS2_XML_READER_XML_FREE macro
          */         
         axis2_char_t* (AXIS2_CALL *
-		get_name)(axis2_xml_reader_t *parser,
+      get_name)(axis2_xml_reader_t *parser,
                   const axis2_env_t *env); 
         /**
          * Used to get the processingInstruction target
@@ -234,7 +234,7 @@
          
                 
         axis2_char_t* (AXIS2_CALL *
-		get_pi_target)(axis2_xml_reader_t *parser,
+      get_pi_target)(axis2_xml_reader_t *parser,
                        const axis2_env_t *env);
         /**
          *  gets the processingInstruction data
@@ -246,7 +246,7 @@
 
 
         axis2_char_t* (AXIS2_CALL *
-		get_pi_data)(axis2_xml_reader_t *parser,
+      get_pi_data)(axis2_xml_reader_t *parser,
                      const axis2_env_t *env);
         /**
          *  used to get the DTD 
@@ -256,7 +256,7 @@
          *         exists.
          */         
         axis2_char_t* (AXIS2_CALL *
-		get_dtd)(axis2_xml_reader_t *parser,
+      get_dtd)(axis2_xml_reader_t *parser,
                  const axis2_env_t *env);                                                
         /**
          *  Free function , this function wraps the underlying parser's 
@@ -269,7 +269,7 @@
          *                  AXIS2_FAILURE on error.
          */         
         axis2_status_t (AXIS2_CALL *
-		xml_free)(axis2_xml_reader_t *parser,
+      xml_free)(axis2_xml_reader_t *parser,
                   const axis2_env_t *env,
                   void *data);
 
@@ -281,11 +281,11 @@
          */
                                    
         axis2_char_t* (AXIS2_CALL *
-		get_char_set_encoding)(axis2_xml_reader_t *parser,
+      get_char_set_encoding)(axis2_xml_reader_t *parser,
                                const axis2_env_t *env);                                         
         /** returns the namespace uri associated with current node */                                                   
         axis2_char_t* (AXIS2_CALL *
-		get_namespace_uri)(axis2_xml_reader_t *parser,
+      get_namespace_uri)(axis2_xml_reader_t *parser,
                            const axis2_env_t *env);
                            
         axis2_char_t* (AXIS2_CALL *
@@ -298,7 +298,7 @@
      
 /** 
  * @brief axis2_xml_reader struct
-  *	Axis2 OM pull_parser
+  *   Axis2 OM pull_parser
  */
 struct axis2_xml_reader
 {
@@ -354,7 +354,7 @@
                                   void *container,
                                   int size,
                                   const axis2_char_t *encoding,
-								  int type);
+                          int type);
 
 /**
  * init function initializes the parser 
@@ -426,7 +426,7 @@
 /** macro to free values returned by pull parser */        
 #define AXIS2_XML_READER_XML_FREE(parser, env, data) \
         ((parser)->ops->xml_free(parser, env, data))
-		
+      
 #define AXIS2_XML_READER_GET_CHAR_SET_ENCODING(parser, env) \
         ((parser)->ops->get_char_set_encoding(parser, env)) 
         

Modified: webservices/axis2/trunk/c/axiom/include/axis2_xml_writer.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axis2_xml_writer.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axis2_xml_writer.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axis2_xml_writer.h Sat Jun  3 20:09:08 2006
@@ -19,7 +19,7 @@
 #define AXIS2_XML_WRITER_H
 
 /**
- *@file axis2_xml_writer.h	
+ *@file axis2_xml_writer.h   
  *@brief this is the parser abstraction layer for axis2 
  */
  
@@ -57,7 +57,7 @@
         */
         
         axis2_status_t (AXIS2_CALL *
-		free)(axis2_xml_writer_t *writer,
+      free)(axis2_xml_writer_t *writer,
               const axis2_env_t *env);
        /**
         *  Write a start tag to output stream with localname.
@@ -69,9 +69,9 @@
                     AXIS2_FAILURE on error.
         */
         axis2_status_t (AXIS2_CALL *
-		write_start_element)(axis2_xml_writer_t *writer,
+      write_start_element)(axis2_xml_writer_t *writer,
                              const axis2_env_t *env, 
-							 axis2_char_t *localname);
+                      axis2_char_t *localname);
        /**
         *  write an end tag to the output relying on the internal
         *  state of writer to determine the prefix and localname of
@@ -82,7 +82,7 @@
         *           AXIS2_FAILURE on error.
         */
         axis2_status_t (AXIS2_CALL *
-		end_start_element)(axis2_xml_writer_t *writer,
+      end_start_element)(axis2_xml_writer_t *writer,
                            const axis2_env_t *env);
         /**
          * Write an element tag with localname and namespace uri 
@@ -95,10 +95,10 @@
          *          AXIS2_FAILURE on error
          */
         axis2_status_t (AXIS2_CALL *
-		write_start_element_with_namespace)(axis2_xml_writer_t *writer,
-											const axis2_env_t *env,
-											axis2_char_t *localname,
-											axis2_char_t *namespace_uri);
+      write_start_element_with_namespace)(axis2_xml_writer_t *writer,
+                                 const axis2_env_t *env,
+                                 axis2_char_t *localname,
+                                 axis2_char_t *namespace_uri);
        
         /**
          * write a start tag to output
@@ -111,11 +111,11 @@
                    AXIS2_SUCCESS on success. AXIS2_FAILURE on error.
          */
         axis2_status_t (AXIS2_CALL *
-		write_start_element_with_namespace_prefix)(axis2_xml_writer_t *writer,
-													const axis2_env_t *env,
-													axis2_char_t *localname,
-													axis2_char_t *namespace_uri,
-													axis2_char_t *prefix);       
+      write_start_element_with_namespace_prefix)(axis2_xml_writer_t *writer,
+                                       const axis2_env_t *env,
+                                       axis2_char_t *localname,
+                                       axis2_char_t *namespace_uri,
+                                       axis2_char_t *prefix);       
         /**
          * write an element tag with localname 
          * @param writer xml_writer
@@ -125,9 +125,9 @@
          *                AXIS2_FAILURE on error.
          */         
         axis2_status_t (AXIS2_CALL *
-		write_empty_element)(axis2_xml_writer_t *writer,
-		                     const axis2_env_t *env,
-							 axis2_char_t *localname);
+      write_empty_element)(axis2_xml_writer_t *writer,
+                           const axis2_env_t *env,
+                      axis2_char_t *localname);
         /**
          * write empty_element with localname and namespace uri.
          * @param writer xml writer
@@ -139,10 +139,10 @@
          */
         
         axis2_status_t (AXIS2_CALL *
-		write_empty_element_with_namespace)(axis2_xml_writer_t *writer,
-											const axis2_env_t *env,
-											axis2_char_t *localname,
-											axis2_char_t *namespace_uri);
+      write_empty_element_with_namespace)(axis2_xml_writer_t *writer,
+                                 const axis2_env_t *env,
+                                 axis2_char_t *localname,
+                                 axis2_char_t *namespace_uri);
         /**
          * write empty element with namespace uri and prefix 
          * @param writer xml_writer
@@ -154,11 +154,11 @@
          *                    AXIS2_FAILURE on error.
          */
         axis2_status_t (AXIS2_CALL *
-		write_empty_element_with_namespace_prefix)(axis2_xml_writer_t *writer,
-													const axis2_env_t *env,
-													axis2_char_t *localname,
-													axis2_char_t *namespace_uri,
-													axis2_char_t *prefix);
+      write_empty_element_with_namespace_prefix)(axis2_xml_writer_t *writer,
+                                       const axis2_env_t *env,
+                                       axis2_char_t *localname,
+                                       axis2_char_t *namespace_uri,
+                                       axis2_char_t *prefix);
         /**
          * write end tag with correct localname prefix resolved internally 
          * @param writer xml writer
@@ -167,7 +167,7 @@
          *            AXIS2_FAILURE on failure 
          */
         axis2_status_t (AXIS2_CALL *
-		write_end_element)(axis2_xml_writer_t *writer,
+      write_end_element)(axis2_xml_writer_t *writer,
                            const axis2_env_t *env);
         /**
          * write end document
@@ -177,7 +177,7 @@
          *              AXIS2_FAILURE on error.
          */
         axis2_status_t (AXIS2_CALL *
-		write_end_document)(axis2_xml_writer_t *writer,
+      write_end_document)(axis2_xml_writer_t *writer,
                             const axis2_env_t *env);
         /**
          * write attribute with localname and value
@@ -189,10 +189,10 @@
          *                 AXIS2_FAILURE on error.
          */
         axis2_status_t (AXIS2_CALL *
-		write_attribute)(axis2_xml_writer_t *writer,
-						 const axis2_env_t *env,
-						 axis2_char_t *localname,
-						 axis2_char_t *value);
+      write_attribute)(axis2_xml_writer_t *writer,
+                   const axis2_env_t *env,
+                   axis2_char_t *localname,
+                   axis2_char_t *value);
         /**
          *  @param writer
          *  @param env environment
@@ -203,11 +203,11 @@
          *                    AXIS2_FAILURE on error.
          */
         axis2_status_t (AXIS2_CALL *
-		write_attribute_with_namespace)(axis2_xml_writer_t *writer,
-										  const axis2_env_t *env,
-										  axis2_char_t *localname,
-										  axis2_char_t *value,
-										  axis2_char_t *namespace_uri);
+      write_attribute_with_namespace)(axis2_xml_writer_t *writer,
+                                const axis2_env_t *env,
+                                axis2_char_t *localname,
+                                axis2_char_t *value,
+                                axis2_char_t *namespace_uri);
         /**
          * @param writer xml_writer
          * @param env environment
@@ -217,7 +217,7 @@
          * @param prefix prefix 
          */         
         axis2_status_t (AXIS2_CALL *
-		write_attribute_with_namespace_prefix)(axis2_xml_writer_t *writer,
+      write_attribute_with_namespace_prefix)(axis2_xml_writer_t *writer,
                                                   const axis2_env_t *env,
                                                   axis2_char_t *localname,
                                                   axis2_char_t *value,
@@ -233,10 +233,10 @@
          */
         
         axis2_status_t (AXIS2_CALL *
-		write_namespace)(axis2_xml_writer_t *writer,
-						 const axis2_env_t *env,
-						 axis2_char_t *prefix,
-						 axis2_char_t *namespace_uri);   
+      write_namespace)(axis2_xml_writer_t *writer,
+                   const axis2_env_t *env,
+                   axis2_char_t *prefix,
+                   axis2_char_t *namespace_uri);   
         /**
          * @param writer xml_writer
          * @param env environment
@@ -246,9 +246,9 @@
          */
 
         axis2_status_t (AXIS2_CALL *
-		write_default_namespace)(axis2_xml_writer_t *writer,
-								 const axis2_env_t *env,
-								 axis2_char_t *namespace_uri);  
+      write_default_namespace)(axis2_xml_writer_t *writer,
+                         const axis2_env_t *env,
+                         axis2_char_t *namespace_uri);  
         /**
          * @param writer xml_writer
          * @param env environment
@@ -259,9 +259,9 @@
                                                     
 
         axis2_status_t (AXIS2_CALL *
-		write_comment)(axis2_xml_writer_t *writer,
-					   const axis2_env_t *env,
-					   axis2_char_t *value);
+      write_comment)(axis2_xml_writer_t *writer,
+                  const axis2_env_t *env,
+                  axis2_char_t *value);
         /**
          * @param writer xml_writer
          * @param env environment
@@ -272,9 +272,9 @@
 
 
         axis2_status_t (AXIS2_CALL *
-		write_processing_instruction)(axis2_xml_writer_t *writer,
-									   const axis2_env_t *env,
-									   axis2_char_t *target);
+      write_processing_instruction)(axis2_xml_writer_t *writer,
+                              const axis2_env_t *env,
+                              axis2_char_t *target);
                                    
         /**
          * @param writer xml_writer
@@ -286,10 +286,10 @@
          */
                                    
         axis2_status_t (AXIS2_CALL *
-		write_processing_instruction_data)(axis2_xml_writer_t *writer,
-										   const axis2_env_t *env,
-										   axis2_char_t *target,
-										   axis2_char_t *data);
+      write_processing_instruction_data)(axis2_xml_writer_t *writer,
+                                 const axis2_env_t *env,
+                                 axis2_char_t *target,
+                                 axis2_char_t *data);
          
         /**
          * @param writer xml_writer
@@ -299,9 +299,9 @@
          *               AXIS2_FAILURE on error.
          */                                           
         axis2_status_t (AXIS2_CALL *
-		write_cdata)(axis2_xml_writer_t *writer,
-					 const axis2_env_t *env,
-					 axis2_char_t *data);
+      write_cdata)(axis2_xml_writer_t *writer,
+                const axis2_env_t *env,
+                axis2_char_t *data);
         
          
         /**
@@ -312,9 +312,9 @@
          *               AXIS2_FAILURE on error.
          */
         axis2_status_t (AXIS2_CALL *
-		write_dtd)(axis2_xml_writer_t *writer,
-				   const axis2_env_t *env,
-				   axis2_char_t *dtd); 
+      write_dtd)(axis2_xml_writer_t *writer,
+               const axis2_env_t *env,
+               axis2_char_t *dtd); 
         
          
         /**
@@ -325,7 +325,7 @@
          *               AXIS2_FAILURE on error.
          */
         axis2_status_t (AXIS2_CALL *
-		write_entity_ref)(axis2_xml_writer_t *writer,
+      write_entity_ref)(axis2_xml_writer_t *writer,
                           const axis2_env_t *env,
                           axis2_char_t *name); 
          
@@ -336,7 +336,7 @@
          *               AXIS2_FAILURE on error.
          */
         axis2_status_t (AXIS2_CALL *
-		write_start_document)(axis2_xml_writer_t *writer,
+      write_start_document)(axis2_xml_writer_t *writer,
                               const axis2_env_t *env);  
         
          
@@ -348,7 +348,7 @@
          *               AXIS2_FAILURE on error.
          */
         axis2_status_t (AXIS2_CALL *
-		write_start_document_with_version)(axis2_xml_writer_t *writer,
+      write_start_document_with_version)(axis2_xml_writer_t *writer,
                                            const axis2_env_t *env,
                                            axis2_char_t *version);   
          
@@ -361,7 +361,7 @@
          *               AXIS2_FAILURE on error.
          */
         axis2_status_t (AXIS2_CALL *
-		write_start_document_with_version_encoding)(axis2_xml_writer_t *writer,
+      write_start_document_with_version_encoding)(axis2_xml_writer_t *writer,
                                                     const axis2_env_t *env,
                                                     axis2_char_t *version,
                                                     axis2_char_t *encoding);
@@ -374,7 +374,7 @@
          *               AXIS2_FAILURE on error.
          */                                         
         axis2_status_t (AXIS2_CALL *
-		write_characters)(axis2_xml_writer_t *writer,
+      write_characters)(axis2_xml_writer_t *writer,
                           const axis2_env_t *env,
                           axis2_char_t *text);   
          
@@ -386,7 +386,7 @@
          *               AXIS2_FAILURE on error.
          */
        axis2_char_t* (AXIS2_CALL *
-	   get_prefix)(axis2_xml_writer_t *writer,
+      get_prefix)(axis2_xml_writer_t *writer,
                    const axis2_env_t *env,
                    axis2_char_t *uri);
          
@@ -399,7 +399,7 @@
          *               AXIS2_FAILURE on error.
          */
        axis2_status_t (AXIS2_CALL *
-	   set_prefix)(axis2_xml_writer_t *writer,
+      set_prefix)(axis2_xml_writer_t *writer,
                    const axis2_env_t *env,
                    axis2_char_t *prefix,
                    axis2_char_t *uri);
@@ -412,7 +412,7 @@
          *               AXIS2_FAILURE on error.
          */                                                 
        axis2_status_t (AXIS2_CALL *
-	   set_default_prefix)(axis2_xml_writer_t *writer,
+      set_default_prefix)(axis2_xml_writer_t *writer,
                            const axis2_env_t *env,
                            axis2_char_t *uri);                                                 
          
@@ -425,23 +425,23 @@
          *               AXIS2_FAILURE on error.
          */
         axis2_status_t (AXIS2_CALL *
-		write_encoded)(axis2_xml_writer_t *writer,
+      write_encoded)(axis2_xml_writer_t *writer,
                        const axis2_env_t *env,
                        axis2_char_t *text,
                        int in_attr);
                                                  
         void* (AXIS2_CALL *
-		get_xml)(axis2_xml_writer_t *writer,
+      get_xml)(axis2_xml_writer_t *writer,
                  const axis2_env_t *env);                                                 
 
         int (AXIS2_CALL *
-		get_type)(axis2_xml_writer_t *writer,
+      get_type)(axis2_xml_writer_t *writer,
                  const axis2_env_t *env);                                                 
     };
 
 /** 
  * @brief axis2_pull_parser struct
-  *	Axis2 OM pull_parser
+  *   Axis2 OM pull_parser
  */
 
 struct axis2_xml_writer
@@ -465,7 +465,7 @@
                                    axis2_char_t *encoding,
                                    int is_prefix_default,
                                    int compression,
-								   int type);
+                           int type);
 
 /********************** start macros *******************************************/
 

Modified: webservices/axis2/trunk/c/axiom/src/attachments/axis2_mime_body_part.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/attachments/axis2_mime_body_part.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/attachments/axis2_mime_body_part.h (original)
+++ webservices/axis2/trunk/c/axiom/src/attachments/axis2_mime_body_part.h Sat Jun  3 20:09:08 2006
@@ -36,9 +36,9 @@
 {
 #endif
 
-	
+   
 typedef struct axis2_mime_body_part_ops axis2_mime_body_part_ops_t;
-typedef struct axis2_mime_body_part axis2_mime_body_part_t;	
+typedef struct axis2_mime_body_part axis2_mime_body_part_t;   
 
 /** @defgroup axis2_mime_body_part
   * @ingroup axis2_mime_body_part
@@ -51,12 +51,12 @@
  */
 struct axis2_mime_body_part_ops
 {
-	axis2_status_t (AXIS2_CALL *
+   axis2_status_t (AXIS2_CALL *
     add_header)(axis2_mime_body_part_t *mime_body_part, 
             const axis2_env_t *env, 
             axis2_char_t *name, 
             axis2_char_t *value); 
-	
+   
     axis2_status_t (AXIS2_CALL *
     set_data_handler)(axis2_mime_body_part_t *mime_body_part, 
             const axis2_env_t *env, 
@@ -68,7 +68,7 @@
             axis2_byte_t **output_stream, 
             int *output_stream_size); 
 
-	/** Deallocate memory
+   /** Deallocate memory
      * @return status code
      */
     axis2_status_t (AXIS2_CALL *
@@ -78,8 +78,8 @@
 
 struct axis2_mime_body_part
 {
-	axis2_mime_body_part_ops_t *ops;
-	
+   axis2_mime_body_part_ops_t *ops;
+   
 };
 
 /**

Modified: webservices/axis2/trunk/c/axiom/src/attachments/axis2_mime_output.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/attachments/axis2_mime_output.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/attachments/axis2_mime_output.h (original)
+++ webservices/axis2/trunk/c/axiom/src/attachments/axis2_mime_output.h Sat Jun  3 20:09:08 2006
@@ -38,10 +38,10 @@
 
 /* This should be moved to header file later axis2_utils_defines.h*/    
 #define axis2_byte_t char
-	
+   
 typedef struct axis2_mime_output_ops axis2_mime_output_ops_t;
-typedef struct axis2_mime_output axis2_mime_output_t;	
-	
+typedef struct axis2_mime_output axis2_mime_output_t;   
+   
 
 /** @defgroup axis2_mime_output Flow
   * @ingroup axis2_mime_output
@@ -58,7 +58,7 @@
     axis2_byte_t* (AXIS2_CALL *complete)(axis2_mime_output_t *mime_output,
                             const axis2_env_t *env, 
                             axis2_byte_t **output_stream,
-							int *output_stream_size,
+                     int *output_stream_size,
                             axis2_char_t *soap_body_buffer,
                             axis2_array_list_t *binary_node_list,
                             axis2_char_t *boundary, 
@@ -69,7 +69,7 @@
     axis2_char_t* (AXIS2_CALL *get_content_type_for_mime)(axis2_mime_output_t *mime_output, const axis2_env_t *env, 
                         axis2_char_t *boundary, axis2_char_t *content_id, axis2_char_t *char_set_encoding, axis2_char_t *soap_content_type);
     
-	/** Deallocate memory
+   /** Deallocate memory
      * @return status code
      */
     axis2_status_t (AXIS2_CALL *free) (axis2_mime_output_t *mime_output,
@@ -79,11 +79,11 @@
 
 /** 
  * @brief Flow struct
- *	Flow  
+ *   Flow  
  */ 
 struct axis2_mime_output
 {
-	axis2_mime_output_ops_t *ops;
+   axis2_mime_output_ops_t *ops;
 };
 
 /**

Modified: webservices/axis2/trunk/c/axiom/src/attachments/data_handler.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/attachments/data_handler.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/attachments/data_handler.c (original)
+++ webservices/axis2/trunk/c/axiom/src/attachments/data_handler.c Sat Jun  3 20:09:08 2006
@@ -20,8 +20,8 @@
 
 typedef struct axis2_data_handler_impl
 {
-	axis2_data_handler_t data_handler;
-	axis2_char_t* mime_type;
+   axis2_data_handler_t data_handler;
+   axis2_char_t* mime_type;
     axis2_char_t* file_name;
     axis2_byte_t* buffer;
     int buffer_len;
@@ -64,16 +64,16 @@
 {
     axis2_data_handler_impl_t *data_handler_impl = NULL;
     
-	AXIS2_ENV_CHECK(env, NULL);
-	data_handler_impl = (axis2_data_handler_impl_t *) AXIS2_MALLOC(env->allocator, 
+   AXIS2_ENV_CHECK(env, NULL);
+   data_handler_impl = (axis2_data_handler_impl_t *) AXIS2_MALLOC(env->allocator, 
         sizeof(axis2_data_handler_impl_t));
-		
-	if(NULL == data_handler_impl)
+      
+   if(NULL == data_handler_impl)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE); 
         return NULL;
     }
-	
+   
     data_handler_impl->data_handler.ops = NULL;
     data_handler_impl->mime_type = NULL;
     data_handler_impl->file_name = NULL;
@@ -101,23 +101,23 @@
         }
     }
     
-	data_handler_impl->data_handler.ops = AXIS2_MALLOC (env->allocator, 
+   data_handler_impl->data_handler.ops = AXIS2_MALLOC (env->allocator, 
         sizeof(axis2_data_handler_ops_t));
-	if(NULL == data_handler_impl->data_handler.ops)
+   if(NULL == data_handler_impl->data_handler.ops)
     {
         axis2_data_handler_free(&(data_handler_impl->data_handler), env);
-		AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+      AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
 
-	data_handler_impl->data_handler.ops->free =  axis2_data_handler_free;
+   data_handler_impl->data_handler.ops->free =  axis2_data_handler_free;
     data_handler_impl->data_handler.ops->get_content_type = axis2_data_handler_get_content_type;
     data_handler_impl->data_handler.ops->get_input_stream = axis2_data_handler_get_input_stream;
     data_handler_impl->data_handler.ops->read_from = axis2_data_handler_read_from;
     data_handler_impl->data_handler.ops->write_to = axis2_data_handler_write_to;
     data_handler_impl->data_handler.ops->set_binary_data = axis2_data_handler_set_binary_data;
     data_handler_impl->data_handler.ops->set_file_name = axis2_data_handler_set_file_name;
-	return &(data_handler_impl->data_handler);
+   return &(data_handler_impl->data_handler);
 }
 
 /*************************** Start of op impls *************************/
@@ -149,21 +149,21 @@
 axis2_data_handler_get_content_type (axis2_data_handler_t *data_handler, const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);       
-	return AXIS2_INTF_TO_IMPL(data_handler)->mime_type;
+   return AXIS2_INTF_TO_IMPL(data_handler)->mime_type;
 }
 
 axis2_byte_t * AXIS2_CALL
 axis2_data_handler_get_input_stream (axis2_data_handler_t *data_handler, const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);       
-	
-	/*@TODO implement the following*/
-	return "";
+   
+   /*@TODO implement the following*/
+   return "";
 }
 
 axis2_status_t AXIS2_CALL
 axis2_data_handler_read_from(axis2_data_handler_t *data_handler, const axis2_env_t *env, 
-							axis2_byte_t** output_stream, int *output_stream_size)
+                     axis2_byte_t** output_stream, int *output_stream_size)
 {
     axis2_data_handler_impl_t *data_handler_impl = NULL;
     
@@ -277,7 +277,7 @@
         *output_stream = byte_stream;
         *output_stream_size = byte_stream_size;
     }
-	
+   
     return AXIS2_SUCCESS;
 }
 

Modified: webservices/axis2/trunk/c/axiom/src/attachments/mime_body_part.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/attachments/mime_body_part.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/attachments/mime_body_part.c (original)
+++ webservices/axis2/trunk/c/axiom/src/attachments/mime_body_part.c Sat Jun  3 20:09:08 2006
@@ -20,9 +20,9 @@
 
 typedef struct axis2_mime_body_part_impl
 {
-	axis2_mime_body_part_t mime_body_part;
-	/** hash map to hold header name, value pairs */
-	axis2_hash_t *header_map;
+   axis2_mime_body_part_t mime_body_part;
+   /** hash map to hold header name, value pairs */
+   axis2_hash_t *header_map;
     axis2_data_handler_t *data_handler;
 } axis2_mime_body_part_impl_t;
 
@@ -53,16 +53,16 @@
 {
     axis2_mime_body_part_impl_t *mime_body_part_impl = NULL;
     
-	AXIS2_ENV_CHECK(env, NULL);
-	mime_body_part_impl = (axis2_mime_body_part_impl_t *) AXIS2_MALLOC(env->allocator, 
+   AXIS2_ENV_CHECK(env, NULL);
+   mime_body_part_impl = (axis2_mime_body_part_impl_t *) AXIS2_MALLOC(env->allocator, 
         sizeof(axis2_mime_body_part_impl_t));
-		
-	if(NULL == mime_body_part_impl)
+      
+   if(NULL == mime_body_part_impl)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE); 
         return NULL;
     }
-	
+   
     mime_body_part_impl->header_map = NULL;
     mime_body_part_impl->data_handler = NULL;
     mime_body_part_impl->mime_body_part.ops = NULL;
@@ -71,20 +71,20 @@
     if (!(mime_body_part_impl->header_map))
     {
         axis2_mime_body_part_free(&(mime_body_part_impl->mime_body_part), env);
-		AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+      AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     
-	mime_body_part_impl->mime_body_part.ops = AXIS2_MALLOC (env->allocator, 
+   mime_body_part_impl->mime_body_part.ops = AXIS2_MALLOC (env->allocator, 
         sizeof(axis2_mime_body_part_ops_t));
-	if(NULL == mime_body_part_impl->mime_body_part.ops)
+   if(NULL == mime_body_part_impl->mime_body_part.ops)
     {
         axis2_mime_body_part_free(&(mime_body_part_impl->mime_body_part), env);
-		AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+      AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
 
-	mime_body_part_impl->mime_body_part.ops->free =  axis2_mime_body_part_free;
+   mime_body_part_impl->mime_body_part.ops->free =  axis2_mime_body_part_free;
     mime_body_part_impl->mime_body_part.ops->add_header = axis2_mime_body_part_add_header;
     mime_body_part_impl->mime_body_part.ops->set_data_handler = axis2_mime_body_part_set_data_handler; 
     mime_body_part_impl->mime_body_part.ops->write_to = axis2_mime_body_part_write_to;
@@ -144,7 +144,7 @@
 axis2_mime_body_part_set_data_handler (axis2_mime_body_part_t *mime_body_part, 
     const axis2_env_t *env, axis2_data_handler_t *data_handler) 
 {
-	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+   AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(mime_body_part)->data_handler = data_handler;
     return AXIS2_SUCCESS;
 }
@@ -153,7 +153,7 @@
 axis2_mime_body_part_write_to (axis2_mime_body_part_t *mime_body_part, const axis2_env_t *env, 
                                 axis2_byte_t **output_stream, int *output_stream_size) 
 {
-	axis2_mime_body_part_impl_t *mime_body_part_impl = NULL;
+   axis2_mime_body_part_impl_t *mime_body_part_impl = NULL;
     axis2_hash_index_t *hash_index = NULL;
     const void *key = NULL;
     void *value = NULL;
@@ -204,7 +204,7 @@
     byte_stream = AXIS2_MALLOC(env->allocator, (size) * sizeof(axis2_byte_t));
     if (!byte_stream)
     {
-		AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+      AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         if (data_handler_stream)
         {
             AXIS2_FREE(env->allocator, data_handler_stream);

Modified: webservices/axis2/trunk/c/axiom/src/attachments/mime_output.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/attachments/mime_output.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/attachments/mime_output.c (original)
+++ webservices/axis2/trunk/c/axiom/src/attachments/mime_output.c Sat Jun  3 20:09:08 2006
@@ -25,7 +25,7 @@
 
 typedef struct axis2_mime_output_impl
 {
-	axis2_mime_output_t mime_output;
+   axis2_mime_output_t mime_output;
 } axis2_mime_output_impl_t;
 
 #define AXIS2_INTF_TO_IMPL(mime_output) ((axis2_mime_output_impl_t *)(mime_output))
@@ -50,7 +50,7 @@
     }
     *byte_buffer = bytes;
     *byte_buffer_size = length;
-	return AXIS2_SUCCESS;
+   return AXIS2_SUCCESS;
 }
 
 /***************************** Function headers *******************************/
@@ -106,31 +106,31 @@
 {
     axis2_mime_output_impl_t *mime_output_impl = NULL;
     
-	AXIS2_ENV_CHECK(env, NULL);
-	mime_output_impl = (axis2_mime_output_impl_t *) AXIS2_MALLOC(env->allocator, 
+   AXIS2_ENV_CHECK(env, NULL);
+   mime_output_impl = (axis2_mime_output_impl_t *) AXIS2_MALLOC(env->allocator, 
         sizeof(axis2_mime_output_impl_t));
-		
-	if(NULL == mime_output_impl)
+      
+   if(NULL == mime_output_impl)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE); 
         return NULL;
     }
-	
+   
     mime_output_impl->mime_output.ops = NULL;
     
-	mime_output_impl->mime_output.ops = AXIS2_MALLOC (env->allocator, 
+   mime_output_impl->mime_output.ops = AXIS2_MALLOC (env->allocator, 
         sizeof(axis2_mime_output_ops_t));
-	if(NULL == mime_output_impl->mime_output.ops)
+   if(NULL == mime_output_impl->mime_output.ops)
     {
         axis2_mime_output_free(&(mime_output_impl->mime_output), env);
-		AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+      AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     
-	mime_output_impl->mime_output.ops->free =  axis2_mime_output_free;
+   mime_output_impl->mime_output.ops->free =  axis2_mime_output_free;
     mime_output_impl->mime_output.ops->complete = axis2_mime_output_complete;
     mime_output_impl->mime_output.ops->get_content_type_for_mime = axis2_mime_output_get_content_type_for_mime; 
-	return &(mime_output_impl->mime_output);
+   return &(mime_output_impl->mime_output);
 }
 
 /*************************** Start of op impls *************************/
@@ -175,7 +175,7 @@
     axis2_status_t status = AXIS2_FAILURE;
     axis2_char_t *header_value = NULL;
     axis2_char_t *content_id_string = NULL;
-	axis2_mime_body_part_t *root_mime_body_part = NULL;
+   axis2_mime_body_part_t *root_mime_body_part = NULL;
     axis2_byte_t *output_stream_start = NULL;
     int output_stream_start_size = 0;
     axis2_byte_t *output_stream_body = NULL;
@@ -280,7 +280,7 @@
         soap_body_buffer_size = AXIS2_STRLEN(soap_body_buffer);
     }
     
-	stream_buffer_size = output_stream_start_size + output_stream_body_size + 
+   stream_buffer_size = output_stream_start_size + output_stream_body_size + 
             soap_body_buffer_size + output_stream_body_parts_size + 
             boundary_stream_size;
             
@@ -357,7 +357,7 @@
     byte_stream = AXIS2_MALLOC(env->allocator, (size + 2) * sizeof(axis2_byte_t));
     if (!byte_stream)
     {
-		AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+      AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return AXIS2_FAILURE;
     }
 
@@ -403,7 +403,7 @@
     AXIS2_MIME_BODY_PART_ADD_HEADER(mime_body_part, env, "content-type", content_type);
     AXIS2_MIME_BODY_PART_ADD_HEADER(mime_body_part, env, "content-transfer-encoding", "binary");
 
-	return mime_body_part;
+   return mime_body_part;
 }
 
 axis2_status_t AXIS2_CALL
@@ -427,7 +427,7 @@
     byte_stream = AXIS2_MALLOC(env->allocator, size * sizeof(axis2_byte_t));
     if (!byte_stream)
     {
-		AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+      AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return AXIS2_FAILURE;
     }
 

Modified: webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c (original)
+++ webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c Sat Jun  3 20:09:08 2006
@@ -20,7 +20,7 @@
 
 typedef struct axis2_mime_parser_impl
 {
-	axis2_mime_parser_t mime_parser;
+   axis2_mime_parser_t mime_parser;
     axis2_hash_t *mime_parts_map;
     int soap_body_len;
     axis2_char_t* soap_body_str;
@@ -62,16 +62,16 @@
 {
     axis2_mime_parser_impl_t *mime_parser_impl = NULL;
     
-	AXIS2_ENV_CHECK(env, NULL);
-	mime_parser_impl = (axis2_mime_parser_impl_t *) AXIS2_MALLOC(env->allocator, 
+   AXIS2_ENV_CHECK(env, NULL);
+   mime_parser_impl = (axis2_mime_parser_impl_t *) AXIS2_MALLOC(env->allocator, 
         sizeof(axis2_mime_parser_impl_t));
-		
-	if(NULL == mime_parser_impl)
+      
+   if(NULL == mime_parser_impl)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE); 
         return NULL;
     }
-	
+   
     mime_parser_impl->mime_parser.ops = NULL;
     mime_parser_impl->mime_parts_map = NULL;
     mime_parser_impl->soap_body_len = 0;
@@ -84,22 +84,22 @@
         return NULL;
     }
     
-	mime_parser_impl->mime_parser.ops = AXIS2_MALLOC (env->allocator, 
+   mime_parser_impl->mime_parser.ops = AXIS2_MALLOC (env->allocator, 
         sizeof(axis2_mime_parser_ops_t));
-	if(NULL == mime_parser_impl->mime_parser.ops)
+   if(NULL == mime_parser_impl->mime_parser.ops)
     {
         axis2_mime_parser_free(&(mime_parser_impl->mime_parser), env);
-		AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+      AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     
-	mime_parser_impl->mime_parser.ops->free =  axis2_mime_parser_free;
+   mime_parser_impl->mime_parser.ops->free =  axis2_mime_parser_free;
     mime_parser_impl->mime_parser.ops->parse = axis2_mime_parser_parse;
     mime_parser_impl->mime_parser.ops->get_mime_parts_map = axis2_mime_parser_get_mime_parts_map;
-	mime_parser_impl->mime_parser.ops->get_soap_body_len = axis2_mime_parser_get_soap_body_len;
-	mime_parser_impl->mime_parser.ops->get_soap_body_str = axis2_mime_parser_get_soap_body_str;
+   mime_parser_impl->mime_parser.ops->get_soap_body_len = axis2_mime_parser_get_soap_body_len;
+   mime_parser_impl->mime_parser.ops->get_soap_body_str = axis2_mime_parser_get_soap_body_str;
     
-	return &(mime_parser_impl->mime_parser);
+   return &(mime_parser_impl->mime_parser);
 }
 
 /*************************** Start of op impls *************************/

Modified: webservices/axis2/trunk/c/axiom/src/om/om_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/om/om_element.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_element.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_element.c Sat Jun  3 20:09:08 2006
@@ -574,7 +574,7 @@
                     if(temp_nsuri && (AXIS2_STRCMP(temp_nsuri, uri) == 0))
                     {
                         /** namespace uri matches , so free hashindex and return ns*/
-		                AXIS2_FREE (env->allocator, hashindex);
+                      AXIS2_FREE (env->allocator, hashindex);
                         return (axis2_om_namespace_t *) (ns);
                     }
                     temp_ns = NULL;
@@ -724,7 +724,7 @@
                 
                 if (temp_nsuri && AXIS2_STRCMP(temp_nsuri, uri) == 0)
                 {
-		            AXIS2_FREE (env->allocator, hash_index);
+                  AXIS2_FREE (env->allocator, hash_index);
                     return temp_ns;
                 }
                 temp_ns = NULL;
@@ -1444,7 +1444,7 @@
     AXIS2_PARAM_CHECK(env->error, element_node, NULL);    
     
     xml_writer = axis2_xml_writer_create_for_memory(env, NULL, AXIS2_TRUE, 0,
-					AXIS2_XML_PARSER_TYPE_BUFFER);
+               AXIS2_XML_PARSER_TYPE_BUFFER);
     if(!xml_writer)
         return NULL;
     

Modified: webservices/axis2/trunk/c/axiom/src/om/om_navigator.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/om/om_navigator.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_navigator.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_navigator.c Sat Jun  3 20:09:08 2006
@@ -39,7 +39,7 @@
                 
 static void 
 axis2_om_navigator_update_next_node(axis2_om_navigator_t *om_navigator,
-                        			const axis2_env_t *env);
+                                 const axis2_env_t *env);
 /************************************************************************************/
 
 typedef struct axis2_om_navigator_impl
@@ -147,18 +147,18 @@
 axis2_om_navigator_is_navigable(axis2_om_navigator_t *om_navigator,
                                 const axis2_env_t *env)
 {
-	axis2_om_navigator_impl_t *navigator_impl = NULL;
-	AXIS2_ENV_CHECK(env, AXIS2_FALSE);
-	
-	navigator_impl = AXIS2_INTF_TO_IMPL(om_navigator);
-	if(AXIS2_TRUE == navigator_impl->end )
-		return AXIS2_FALSE;
-	else
-	{
-		if(NULL != navigator_impl->next)
-			return AXIS2_TRUE;
-	}		
-	return AXIS2_FALSE;
+   axis2_om_navigator_impl_t *navigator_impl = NULL;
+   AXIS2_ENV_CHECK(env, AXIS2_FALSE);
+   
+   navigator_impl = AXIS2_INTF_TO_IMPL(om_navigator);
+   if(AXIS2_TRUE == navigator_impl->end )
+      return AXIS2_FALSE;
+   else
+   {
+      if(NULL != navigator_impl->next)
+         return AXIS2_TRUE;
+   }      
+   return AXIS2_FALSE;
 }
 
 
@@ -166,8 +166,8 @@
 axis2_om_navigator_is_completed(axis2_om_navigator_t *om_navigator,
                                 const axis2_env_t *env)
 {
-	AXIS2_ENV_CHECK(env, AXIS2_FALSE);
-	return AXIS2_INTF_TO_IMPL(om_navigator)->end;	
+   AXIS2_ENV_CHECK(env, AXIS2_FALSE);
+   return AXIS2_INTF_TO_IMPL(om_navigator)->end;   
 }
 
 
@@ -175,8 +175,8 @@
 axis2_om_navigator_visited(axis2_om_navigator_t *om_navigator,
                            const axis2_env_t *env)
 {
-	AXIS2_ENV_CHECK(env, AXIS2_FALSE);
-	return AXIS2_INTF_TO_IMPL(om_navigator)->visited;	
+   AXIS2_ENV_CHECK(env, AXIS2_FALSE);
+   return AXIS2_INTF_TO_IMPL(om_navigator)->visited;   
 }
 
 
@@ -184,86 +184,86 @@
 axis2_om_navigator_next(axis2_om_navigator_t *om_navigator,
                         const axis2_env_t *env)
 {
-	axis2_om_navigator_impl_t *navigator_impl = NULL;
-	AXIS2_ENV_CHECK(env, NULL);
-	
-	navigator_impl = AXIS2_INTF_TO_IMPL(om_navigator);
-	
-	if(NULL == navigator_impl->next)
-		return NULL;
-	
-	navigator_impl->node = navigator_impl->next;
-	navigator_impl->visited = navigator_impl->backtracked;
-	navigator_impl->backtracked = AXIS2_FALSE;
-	
-	axis2_om_navigator_update_next_node(om_navigator, env);
-	
-	
-	/** set the starting and ending flags */
-	if(navigator_impl->root == navigator_impl->next)
-	{
-		if(!(navigator_impl->start))
-		{
-			navigator_impl->end = AXIS2_TRUE;
-		}
-		else
-		{
-			navigator_impl->start = AXIS2_FALSE;
-		}			
-	}
-	return navigator_impl->node;	
+   axis2_om_navigator_impl_t *navigator_impl = NULL;
+   AXIS2_ENV_CHECK(env, NULL);
+   
+   navigator_impl = AXIS2_INTF_TO_IMPL(om_navigator);
+   
+   if(NULL == navigator_impl->next)
+      return NULL;
+   
+   navigator_impl->node = navigator_impl->next;
+   navigator_impl->visited = navigator_impl->backtracked;
+   navigator_impl->backtracked = AXIS2_FALSE;
+   
+   axis2_om_navigator_update_next_node(om_navigator, env);
+   
+   
+   /** set the starting and ending flags */
+   if(navigator_impl->root == navigator_impl->next)
+   {
+      if(!(navigator_impl->start))
+      {
+         navigator_impl->end = AXIS2_TRUE;
+      }
+      else
+      {
+         navigator_impl->start = AXIS2_FALSE;
+      }         
+   }
+   return navigator_impl->node;   
 }
 /** this method encapsulate searching logic */
 static void 
 axis2_om_navigator_update_next_node(axis2_om_navigator_t *om_navigator,
-                        			const axis2_env_t *env)
+                                 const axis2_env_t *env)
 {
-	axis2_om_navigator_impl_t *navigator_impl = NULL;
-	if(!om_navigator)
-		return;
-	
-	navigator_impl = AXIS2_INTF_TO_IMPL(om_navigator);
-	
-	if(!navigator_impl->next)
-		return;		
-	
-	if((AXIS2_OM_ELEMENT == AXIS2_OM_NODE_GET_NODE_TYPE(navigator_impl->next, env)) &&
-		!(navigator_impl->visited))
-	{
-		if(NULL != AXIS2_OM_NODE_GET_FIRST_CHILD(navigator_impl->next, env))	
-		{
-			navigator_impl->next = 	AXIS2_OM_NODE_GET_FIRST_CHILD(navigator_impl->next, env);
-		}
-		else if(AXIS2_TRUE == AXIS2_OM_NODE_IS_COMPLETE(navigator_impl->next, env))
-		{
-			navigator_impl->backtracked = AXIS2_TRUE;				
-		}			
-		else
-		{
-			navigator_impl->next = NULL;
-		}			
-	}
-	else
-	{
-		axis2_om_node_t  *parent = NULL;
-		axis2_om_node_t *next_sibling = NULL;
-		
-		next_sibling = AXIS2_OM_NODE_GET_NEXT_SIBLING(navigator_impl->next, env);
-		
-		parent = AXIS2_OM_NODE_GET_PARENT(navigator_impl->next, env);	
-		
-		if(NULL != next_sibling)
-		{
-			navigator_impl->next = next_sibling;	
-		}			
-		else if((NULL != parent) && AXIS2_OM_NODE_IS_COMPLETE(parent, env))
-		{
-			navigator_impl->next = parent;
-			navigator_impl->backtracked = AXIS2_TRUE;	
-		}			
-		else
-		{
-			navigator_impl->next = NULL;	
-		}			
-	}
+   axis2_om_navigator_impl_t *navigator_impl = NULL;
+   if(!om_navigator)
+      return;
+   
+   navigator_impl = AXIS2_INTF_TO_IMPL(om_navigator);
+   
+   if(!navigator_impl->next)
+      return;      
+   
+   if((AXIS2_OM_ELEMENT == AXIS2_OM_NODE_GET_NODE_TYPE(navigator_impl->next, env)) &&
+      !(navigator_impl->visited))
+   {
+      if(NULL != AXIS2_OM_NODE_GET_FIRST_CHILD(navigator_impl->next, env))   
+      {
+         navigator_impl->next =    AXIS2_OM_NODE_GET_FIRST_CHILD(navigator_impl->next, env);
+      }
+      else if(AXIS2_TRUE == AXIS2_OM_NODE_IS_COMPLETE(navigator_impl->next, env))
+      {
+         navigator_impl->backtracked = AXIS2_TRUE;            
+      }         
+      else
+      {
+         navigator_impl->next = NULL;
+      }         
+   }
+   else
+   {
+      axis2_om_node_t  *parent = NULL;
+      axis2_om_node_t *next_sibling = NULL;
+      
+      next_sibling = AXIS2_OM_NODE_GET_NEXT_SIBLING(navigator_impl->next, env);
+      
+      parent = AXIS2_OM_NODE_GET_PARENT(navigator_impl->next, env);   
+      
+      if(NULL != next_sibling)
+      {
+         navigator_impl->next = next_sibling;   
+      }         
+      else if((NULL != parent) && AXIS2_OM_NODE_IS_COMPLETE(parent, env))
+      {
+         navigator_impl->next = parent;
+         navigator_impl->backtracked = AXIS2_TRUE;   
+      }         
+      else
+      {
+         navigator_impl->next = NULL;   
+      }         
+   }
 }

Modified: webservices/axis2/trunk/c/axiom/src/om/om_node.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/om/om_node.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_node.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_node.c Sat Jun  3 20:09:08 2006
@@ -839,7 +839,7 @@
     AXIS2_PARAM_CHECK(env->error, om_node, NULL);    
     
     xml_writer = axis2_xml_writer_create_for_memory(env, NULL, AXIS2_TRUE, 0,
-					AXIS2_XML_PARSER_TYPE_BUFFER);
+               AXIS2_XML_PARSER_TYPE_BUFFER);
     if(!xml_writer)
         return NULL;
     

Modified: webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c Sat Jun  3 20:09:08 2006
@@ -46,11 +46,11 @@
 axis2_bool_t  AXIS2_CALL
 axis2_om_stax_builder_is_complete(axis2_om_stax_builder_t *builder,
                                    const axis2_env_t *env);
-                                                              											
+                                                                                               
 int AXIS2_CALL 
 axis2_om_stax_builder_next_with_token(axis2_om_stax_builder_t *builder,
-                                          const axis2_env_t *env);                                                                                                                                            											
-													
+                                          const axis2_env_t *env);                                                                                                                                                                             
+                                       
 /********************************* axis2_om_stax_builder_impl_t struct ********/
 typedef struct axis2_om_stax_builder_impl_t
 {
@@ -76,13 +76,13 @@
         
 }axis2_om_stax_builder_impl_t;
 
-/************************************** Macro *********************************/				
+/************************************** Macro *********************************/            
 
 #define AXIS2_INTF_TO_IMPL(builder) ((axis2_om_stax_builder_impl_t*)builder)
 
 /******************************************************************************/
 
-													
+                                       
 AXIS2_EXTERN axis2_om_stax_builder_t * AXIS2_CALL
 axis2_om_stax_builder_create (const axis2_env_t *env,
                               axis2_xml_reader_t *parser)
@@ -136,8 +136,8 @@
     builder->om_stax_builder.ops->discard_current_element = 
             axis2_om_stax_builder_discard_current_element;
         
-	builder->om_stax_builder.ops->free = 
-	        axis2_om_stax_builder_free;
+   builder->om_stax_builder.ops->free = 
+           axis2_om_stax_builder_free;
 
     builder->om_stax_builder.ops->get_document = 
             axis2_om_stax_builder_get_document;
@@ -148,7 +148,7 @@
     builder->om_stax_builder.ops->is_complete =
             axis2_om_stax_builder_is_complete;
                                                
-	
+   
     return &(builder->om_stax_builder);
 }
 
@@ -521,7 +521,7 @@
     axis2_om_stax_builder_process_attributes ( om_stax_builder, env, element_node);
 
     builder_impl->lastnode = element_node;
-	
+   
     return element_node;
 }
 
@@ -828,13 +828,13 @@
             builder_impl->root_node = NULL;
         }
     }
-	if(builder->ops)
-	{
-		AXIS2_FREE (env->allocator, builder->ops);
+   if(builder->ops)
+   {
+      AXIS2_FREE (env->allocator, builder->ops);
         builder->ops = NULL;
-	}	
-	AXIS2_FREE (env->allocator, AXIS2_INTF_TO_IMPL(builder));
-	return AXIS2_SUCCESS;	
+   }   
+   AXIS2_FREE (env->allocator, AXIS2_INTF_TO_IMPL(builder));
+   return AXIS2_SUCCESS;   
 }
 
 

Modified: webservices/axis2/trunk/c/axiom/src/om/om_text.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/om/om_text.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_text.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_text.c Sat Jun  3 20:09:08 2006
@@ -518,7 +518,7 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     xml_writer = axis2_xml_writer_create_for_memory(env, NULL, AXIS2_TRUE, 0,
-				AXIS2_XML_PARSER_TYPE_BUFFER);
+            AXIS2_XML_PARSER_TYPE_BUFFER);
     om_namespace = axis2_om_namespace_create(env, "" , "");
     om_text_impl = AXIS2_INTF_TO_IMPL(om_text);
 
@@ -557,7 +557,7 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     xml_writer = axis2_xml_writer_create_for_memory(env, NULL, AXIS2_TRUE, 0,
-					AXIS2_XML_PARSER_TYPE_BUFFER);
+               AXIS2_XML_PARSER_TYPE_BUFFER);
     om_namespace = axis2_om_namespace_create(env, "" , "");
     om_text_impl = AXIS2_INTF_TO_IMPL(om_text);
 

Modified: webservices/axis2/trunk/c/axiom/src/parser/guththila/guththila_xml_writer_wrapper.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/parser/guththila/guththila_xml_writer_wrapper.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/parser/guththila/guththila_xml_writer_wrapper.c (original)
+++ webservices/axis2/trunk/c/axiom/src/parser/guththila/guththila_xml_writer_wrapper.c Sat Jun  3 20:09:08 2006
@@ -333,7 +333,7 @@
                                    axis2_char_t *encoding,
                                    int is_prefix_default,
                                    int compression,
-								   int type)
+                           int type)
 {
     
     return axis2_xml_writer_create(env, NULL, encoding, is_prefix_default, compression);

Modified: webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_reader_wrapper.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_reader_wrapper.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_reader_wrapper.c (original)
+++ webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_reader_wrapper.c Sat Jun  3 20:09:08 2006
@@ -73,8 +73,8 @@
                                                
 axis2_char_t* AXIS2_CALL
 axis2_libxml2_reader_wrapper_get_namespace_prefix_by_number(axis2_xml_reader_t *parser,
-                                                	 const axis2_env_t *env,
-                                                	 int i); 
+                                                    const axis2_env_t *env,
+                                                    int i); 
                                                 
 axis2_char_t* AXIS2_CALL
 axis2_libxml2_reader_wrapper_get_prefix(axis2_xml_reader_t *parser,
@@ -141,16 +141,16 @@
 
 typedef struct axis2_libxml2_reader_wrapper_impl_t
 {
-	axis2_xml_reader_t parser;
-	
-	xmlTextReaderPtr reader;
-	
-	int current_event;
-	int current_attribute_count;
+   axis2_xml_reader_t parser;
+   
+   xmlTextReaderPtr reader;
+   
+   int current_event;
+   int current_attribute_count;
     int current_namespace_count;
-	int event_map[18];
-	
-	void* ctx;
+   int event_map[18];
+   
+   void* ctx;
     /* assuming that max ns and attri will be 20 */
     
     int namespace_map[AXIS2_ATTR_NS_MAX];
@@ -293,7 +293,7 @@
                                   const axis2_char_t *encoding)
 {
     
-	axis2_libxml2_reader_wrapper_impl_t *wrapper_impl = NULL;
+   axis2_libxml2_reader_wrapper_impl_t *wrapper_impl = NULL;
     AXIS2_ENV_CHECK( env, NULL);
     AXIS2_PARAM_CHECK(env->error, filename, NULL);
     
@@ -319,7 +319,7 @@
     wrapper_impl->current_event = -1;
     
     axis2_libxml2_reader_wrapper_init_map(wrapper_impl);
-	
+   
     
     wrapper_impl->parser.ops = NULL;
     wrapper_impl->parser.ops = (axis2_xml_reader_ops_t*)AXIS2_MALLOC(env->allocator,
@@ -332,9 +332,9 @@
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
-	/* ops */
-	axis2_libxml2_reader_wrapper_init_ops(&(wrapper_impl->parser));
-	return &(wrapper_impl->parser);
+   /* ops */
+   axis2_libxml2_reader_wrapper_init_ops(&(wrapper_impl->parser));
+   return &(wrapper_impl->parser);
 }
 
 /************** create function for io callback function **********************/
@@ -347,7 +347,7 @@
                                     const axis2_char_t *encoding)
 {
     
-	axis2_libxml2_reader_wrapper_impl_t *wrapper_impl = NULL;
+   axis2_libxml2_reader_wrapper_impl_t *wrapper_impl = NULL;
     
     AXIS2_ENV_CHECK( env, NULL);
     
@@ -369,9 +369,9 @@
     if(wrapper_impl->close_input_callback)
     {
         wrapper_impl->reader =  
-			xmlReaderForIO(axis2_libxml2_reader_wrapper_read_input_callback,
-             			   axis2_libxml2_reader_wrapper_close_input_callback, 
-						   wrapper_impl, NULL, encoding, XML_PARSE_RECOVER);
+         xmlReaderForIO(axis2_libxml2_reader_wrapper_read_input_callback,
+                         axis2_libxml2_reader_wrapper_close_input_callback, 
+                     wrapper_impl, NULL, encoding, XML_PARSE_RECOVER);
     }
     else
     {
@@ -392,7 +392,7 @@
     wrapper_impl->current_event = -1;
     
     axis2_libxml2_reader_wrapper_init_map(wrapper_impl);
-	
+   
     
     wrapper_impl->parser.ops = NULL;
     wrapper_impl->parser.ops = (axis2_xml_reader_ops_t*)AXIS2_MALLOC(env->allocator,
@@ -406,8 +406,8 @@
         return NULL;
     }
 
-	axis2_libxml2_reader_wrapper_init_ops(&(wrapper_impl->parser));
-	return &(wrapper_impl->parser);
+   axis2_libxml2_reader_wrapper_init_ops(&(wrapper_impl->parser));
+   return &(wrapper_impl->parser);
 }
 
 /***************** create function for character buffer or xml doc ************************/
@@ -416,9 +416,9 @@
                                   void *container,
                                   int size,
                                   const axis2_char_t *encoding,
-								  int type)
+                          int type)
 {    
-	axis2_libxml2_reader_wrapper_impl_t *wrapper_impl = NULL;
+   axis2_libxml2_reader_wrapper_impl_t *wrapper_impl = NULL;
     
     AXIS2_ENV_CHECK( env, NULL);
     AXIS2_PARAM_CHECK(env->error, container , NULL);
@@ -432,38 +432,38 @@
     }
     wrapper_impl->close_input_callback = NULL;
     wrapper_impl->read_input_callback = NULL;
-	wrapper_impl->ctx = NULL;
+   wrapper_impl->ctx = NULL;
 
-	if (AXIS2_XML_PARSER_TYPE_BUFFER == type)
-	{	
-    	wrapper_impl->reader =  xmlReaderForMemory((axis2_char_t*)container, size, 
-									NULL, encoding, XML_PARSE_RECOVER);
-	}
-	else if (AXIS2_XML_PARSER_TYPE_DOC == type)
-	{
-    	wrapper_impl->reader =  xmlReaderWalker((xmlDocPtr)container);
-	}
-	else 
-	{
+   if (AXIS2_XML_PARSER_TYPE_BUFFER == type)
+   {   
+       wrapper_impl->reader =  xmlReaderForMemory((axis2_char_t*)container, size, 
+                           NULL, encoding, XML_PARSE_RECOVER);
+   }
+   else if (AXIS2_XML_PARSER_TYPE_DOC == type)
+   {
+       wrapper_impl->reader =  xmlReaderWalker((xmlDocPtr)container);
+   }
+   else 
+   {
         AXIS2_FREE(env->allocator, wrapper_impl);
-		AXIS2_ERROR_SET(env->error, AXIS2_ERROR_XML_PARSER_INVALID_MEM_TYPE, AXIS2_FAILURE);
-		return NULL;
-	}
+      AXIS2_ERROR_SET(env->error, AXIS2_ERROR_XML_PARSER_INVALID_MEM_TYPE, AXIS2_FAILURE);
+      return NULL;
+   }
 
     if(!(wrapper_impl->reader))
     {
         AXIS2_FREE(env->allocator, wrapper_impl);
         AXIS2_ERROR_SET(env->error, 
-				AXIS2_ERROR_CREATING_XML_STREAM_READER, AXIS2_FAILURE);
+            AXIS2_ERROR_CREATING_XML_STREAM_READER, AXIS2_FAILURE);
         return NULL;
     }
 
-	if (AXIS2_XML_PARSER_TYPE_BUFFER == type)
-	{
-    	xmlTextReaderSetErrorHandler(wrapper_impl->reader, 
-         	(xmlTextReaderErrorFunc)axis2_libxml2_reader_wrapper_error_handler, 
-         	env);
-	}
+   if (AXIS2_XML_PARSER_TYPE_BUFFER == type)
+   {
+       xmlTextReaderSetErrorHandler(wrapper_impl->reader, 
+            (xmlTextReaderErrorFunc)axis2_libxml2_reader_wrapper_error_handler, 
+            env);
+   }
 
     wrapper_impl->current_event = -1;
     
@@ -481,8 +481,8 @@
         return NULL;
     }
 
-	axis2_libxml2_reader_wrapper_init_ops(&(wrapper_impl->parser));
-	return &(wrapper_impl->parser);
+   axis2_libxml2_reader_wrapper_init_ops(&(wrapper_impl->parser));
+   return &(wrapper_impl->parser);
 }
 
 
@@ -719,8 +719,8 @@
                                                
 axis2_char_t* AXIS2_CALL
 axis2_libxml2_reader_wrapper_get_namespace_prefix_by_number(axis2_xml_reader_t *parser,
-                                                	 const axis2_env_t *env,
-                                                	 int i)
+                                                    const axis2_env_t *env,
+                                                    int i)
 {
     axis2_libxml2_reader_wrapper_impl_t *parser_impl = NULL;
     AXIS2_ENV_CHECK( env, NULL);

Modified: webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_writer_wrapper.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_writer_wrapper.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_writer_wrapper.c (original)
+++ webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_writer_wrapper.c Sat Jun  3 20:09:08 2006
@@ -54,7 +54,7 @@
     
     xmlBufferPtr buffer;
 
-	xmlDocPtr doc;
+   xmlDocPtr doc;
     
     int writer_type;
     
@@ -436,7 +436,7 @@
                                    axis2_char_t *encoding, 
                                    int is_prefix_default,
                                    int compression,
-								   int type)
+                           int type)
 {
     axis2_libxml2_writer_wrapper_impl_t *writer_impl = NULL;
     AXIS2_ENV_CHECK(env, NULL);
@@ -451,7 +451,7 @@
     writer_impl->writer.ops = NULL;
     writer_impl->encoding = NULL;
     writer_impl->buffer = NULL;
-	writer_impl->doc = NULL;
+   writer_impl->doc = NULL;
     writer_impl->in_empty_element = AXIS2_FALSE;
     writer_impl->in_start_element = AXIS2_FALSE;
     writer_impl->stack = NULL;
@@ -459,31 +459,31 @@
     writer_impl->default_lang_namespace = NULL;
     writer_impl->compression = compression;
    
-	if (AXIS2_XML_PARSER_TYPE_BUFFER == type)
-	{
-		writer_impl->writer_type = AXIS2_XML_PARSER_TYPE_BUFFER;
-    	writer_impl->buffer = xmlBufferCreate();
-    	if(writer_impl->buffer == NULL)
-    	{
-        	axis2_libxml2_writer_wrapper_free(&(writer_impl->writer), env);
-        	AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
-        	return NULL;
-    	}
-    
-    	writer_impl->xml_writer = xmlNewTextWriterMemory(writer_impl->buffer, 0);
-	}
-	else if (AXIS2_XML_PARSER_TYPE_DOC == type)	
-	{
-    	writer_impl->writer_type = AXIS2_XML_PARSER_TYPE_DOC;
-    	writer_impl->xml_writer = xmlNewTextWriterDoc(&writer_impl->doc, 0);
-	}
-	else
-	{
-		axis2_libxml2_writer_wrapper_free(&(writer_impl->writer), env);
-		AXIS2_ERROR_SET(env->error, AXIS2_ERROR_XML_PARSER_INVALID_MEM_TYPE, AXIS2_FAILURE);
-		return NULL;
-	}
-		
+   if (AXIS2_XML_PARSER_TYPE_BUFFER == type)
+   {
+      writer_impl->writer_type = AXIS2_XML_PARSER_TYPE_BUFFER;
+       writer_impl->buffer = xmlBufferCreate();
+       if(writer_impl->buffer == NULL)
+       {
+           axis2_libxml2_writer_wrapper_free(&(writer_impl->writer), env);
+           AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+           return NULL;
+       }
+    
+       writer_impl->xml_writer = xmlNewTextWriterMemory(writer_impl->buffer, 0);
+   }
+   else if (AXIS2_XML_PARSER_TYPE_DOC == type)   
+   {
+       writer_impl->writer_type = AXIS2_XML_PARSER_TYPE_DOC;
+       writer_impl->xml_writer = xmlNewTextWriterDoc(&writer_impl->doc, 0);
+   }
+   else
+   {
+      axis2_libxml2_writer_wrapper_free(&(writer_impl->writer), env);
+      AXIS2_ERROR_SET(env->error, AXIS2_ERROR_XML_PARSER_INVALID_MEM_TYPE, AXIS2_FAILURE);
+      return NULL;
+   }
+      
     
     
     if(writer_impl->xml_writer == NULL)
@@ -613,8 +613,8 @@
     if(NULL != writer_impl->buffer)
     {
         xmlBufferFree(writer_impl->buffer);
-    	writer_impl->buffer = NULL;
-    }    	
+       writer_impl->buffer = NULL;
+    }       
     if(NULL != writer_impl->encoding)
     {
         AXIS2_FREE(env->allocator, writer_impl->encoding);
@@ -1490,8 +1490,8 @@
     }
     if(writer_impl->writer_type == AXIS2_XML_PARSER_TYPE_BUFFER)
     {
-    	axis2_char_t *output = NULL;
-		
+       axis2_char_t *output = NULL;
+      
         if(writer_impl->buffer != NULL)
         {
            output = AXIS2_MALLOC(env->allocator,     
@@ -1500,12 +1500,12 @@
             sprintf(output, 
                     ((const axis2_char_t*)(writer_impl->buffer->content)));
         }
-		return (void*)output;
+      return (void*)output;
     }
-	else if (writer_impl->writer_type == AXIS2_XML_PARSER_TYPE_DOC)
-	{
-		return (void*)writer_impl->doc;
-	}
+   else if (writer_impl->writer_type == AXIS2_XML_PARSER_TYPE_DOC)
+   {
+      return (void*)writer_impl->doc;
+   }
     else if(writer_impl->writer_type == AXIS2_XML_PARSER_TYPE_FILE)
     {
         printf("axis2_libxml2_writer_wrapper_get_xml does not support file writer\n");
@@ -1521,7 +1521,7 @@
     axis2_libxml2_writer_wrapper_impl_t *writer_impl = NULL;
     writer_impl = AXIS2_INTF_TO_IMPL(writer);
 
-	return writer_impl->writer_type;
+   return writer_impl->writer_type;
 }
 
 static axis2_status_t

Modified: webservices/axis2/trunk/c/axiom/src/soap/soap_envelope.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap_envelope.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap_envelope.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap_envelope.c Sat Jun  3 20:09:08 2006
@@ -699,43 +699,43 @@
 
 AXIS2_EXTERN axis2_soap_envelope_t * AXIS2_CALL
 axis2_soap_envelope_create_default_soap_fault_envelope(const axis2_env_t *env,
-	axis2_char_t *code_value, axis2_char_t *reason_text, int soap_version,
+   axis2_char_t *code_value, axis2_char_t *reason_text, int soap_version,
     axis2_array_list_t *sub_codes,
     axis2_om_node_t *detail_node)
 {
     axis2_soap_envelope_t *soap_env = NULL;
     axis2_soap_body_t *soap_body = NULL;
     axis2_soap_envelope_impl_t *env_impl = NULL;
-	axis2_soap_fault_t *fault = NULL;
+   axis2_soap_fault_t *fault = NULL;
     AXIS2_ENV_CHECK(env, NULL);
 
-	if (AXIS2_SOAP11 != soap_version && AXIS2_SOAP12 != soap_version)
-	{
-		AXIS2_ERROR_SET(env->error,
-			AXIS2_ERROR_INVALID_SOAP_VERSION, AXIS2_FAILURE);
-		return NULL;
-	}
-	
-	soap_env = axis2_soap_envelope_create_default_soap_envelope(env, soap_version);
-	if (!soap_env)
-	{
+   if (AXIS2_SOAP11 != soap_version && AXIS2_SOAP12 != soap_version)
+   {
+      AXIS2_ERROR_SET(env->error,
+         AXIS2_ERROR_INVALID_SOAP_VERSION, AXIS2_FAILURE);
+      return NULL;
+   }
+   
+   soap_env = axis2_soap_envelope_create_default_soap_envelope(env, soap_version);
+   if (!soap_env)
+   {
         return NULL;
-	}
-	env_impl = AXIS2_INTF_TO_IMPL(soap_env);
+   }
+   env_impl = AXIS2_INTF_TO_IMPL(soap_env);
 
     soap_body = AXIS2_SOAP_ENVELOPE_GET_BODY(soap_env, env);
-	if (!soap_body)
-	{
-		AXIS2_SOAP_ENVELOPE_FREE(soap_env, env);
-		return NULL;
-	}
-	fault = axis2_soap_fault_create_default_fault(env, soap_body,
-				code_value, reason_text, soap_version);
-	if (!fault)
-	{
-		AXIS2_SOAP_ENVELOPE_FREE(soap_env, env);
-		return NULL;
-	}
+   if (!soap_body)
+   {
+      AXIS2_SOAP_ENVELOPE_FREE(soap_env, env);
+      return NULL;
+   }
+   fault = axis2_soap_fault_create_default_fault(env, soap_body,
+            code_value, reason_text, soap_version);
+   if (!fault)
+   {
+      AXIS2_SOAP_ENVELOPE_FREE(soap_env, env);
+      return NULL;
+   }
 
     if (sub_codes)
     {
@@ -765,7 +765,7 @@
         }
     }
 
-	return soap_env;
+   return soap_env;
 
 }
 

Modified: webservices/axis2/trunk/c/axiom/src/soap/soap_fault_value.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap_fault_value.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap_fault_value.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap_fault_value.c Sat Jun  3 20:09:08 2006
@@ -48,13 +48,13 @@
                                   
 axis2_char_t* AXIS2_CALL
 axis2_soap_fault_value_get_text(axis2_soap_fault_value_t *fault_value,
-									const axis2_env_t *env);
-									
+                           const axis2_env_t *env);
+                           
 axis2_status_t AXIS2_CALL
 axis2_soap_fault_value_set_text(axis2_soap_fault_value_t *fault_value,
-								const axis2_env_t *env,
-								axis2_char_t *text);									
-									
+                        const axis2_env_t *env,
+                        axis2_char_t *text);                           
+                           
 /*************************** function implementations *************************/
 
 AXIS2_EXTERN axis2_soap_fault_value_t * AXIS2_CALL
@@ -90,11 +90,11 @@
     fault_val_impl->fault_value.ops->get_base_node =
         axis2_soap_fault_value_get_base_node;
 
-	fault_val_impl->fault_value.ops->get_text =
-		axis2_soap_fault_value_get_text;
-		
+   fault_val_impl->fault_value.ops->get_text =
+      axis2_soap_fault_value_get_text;
+      
     fault_val_impl->fault_value.ops->set_text =
-        axis2_soap_fault_value_set_text;       		
+        axis2_soap_fault_value_set_text;             
         
     return &(fault_val_impl->fault_value);
 }
@@ -275,29 +275,29 @@
 
 axis2_char_t* AXIS2_CALL
 axis2_soap_fault_value_get_text(axis2_soap_fault_value_t *fault_value,
-								const axis2_env_t *env)
+                        const axis2_env_t *env)
 {
-	axis2_om_node_t *value_node = NULL;
-	axis2_om_element_t *value_element = NULL;
-	
-	value_node = axis2_soap_fault_value_get_base_node(fault_value, env);
-	
-	if (!value_node)
-		return NULL;
-
-	value_element = (axis2_om_element_t*)AXIS2_OM_NODE_GET_DATA_ELEMENT(
-		value_node, env);
-	
-	if (!value_element)
-		return NULL;
-	
-	return AXIS2_OM_ELEMENT_GET_TEXT(value_element, env, value_node);
+   axis2_om_node_t *value_node = NULL;
+   axis2_om_element_t *value_element = NULL;
+   
+   value_node = axis2_soap_fault_value_get_base_node(fault_value, env);
+   
+   if (!value_node)
+      return NULL;
+
+   value_element = (axis2_om_element_t*)AXIS2_OM_NODE_GET_DATA_ELEMENT(
+      value_node, env);
+   
+   if (!value_element)
+      return NULL;
+   
+   return AXIS2_OM_ELEMENT_GET_TEXT(value_element, env, value_node);
 }
 
 axis2_status_t AXIS2_CALL
 axis2_soap_fault_value_set_text(axis2_soap_fault_value_t *fault_value,
-								const axis2_env_t *env,
-								axis2_char_t *text)
+                        const axis2_env_t *env,
+                        axis2_char_t *text)
 {
     axis2_soap_fault_value_impl_t *fault_value_impl = NULL;
     
@@ -313,4 +313,4 @@
         return AXIS2_OM_ELEMENT_SET_TEXT(om_ele, env, text, fault_value_impl->om_ele_node);
     }
     return AXIS2_FAILURE;
-}								
+}                        

Modified: webservices/axis2/trunk/c/axiom/test/om/test_om.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/test/om/test_om.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/test/om/test_om.c (original)
+++ webservices/axis2/trunk/c/axiom/test/om/test_om.c Sat Jun  3 20:09:08 2006
@@ -166,7 +166,7 @@
     printf ("Serialize pulled document\n");
     
     writer = axis2_xml_writer_create_for_memory(environment, NULL, AXIS2_TRUE, 0,
-													AXIS2_XML_PARSER_TYPE_BUFFER);
+                                       AXIS2_XML_PARSER_TYPE_BUFFER);
     om_output = axis2_om_output_create (environment, writer);
 
     AXIS2_OM_NODE_SERIALIZE (node1, environment , om_output);
@@ -246,7 +246,7 @@
    
     /* serializing stuff */
     writer = axis2_xml_writer_create_for_memory(environment, NULL, AXIS2_TRUE, 0,
-												AXIS2_XML_PARSER_TYPE_BUFFER);
+                                    AXIS2_XML_PARSER_TYPE_BUFFER);
     om_output = axis2_om_output_create (environment, writer);
 
     printf ("Serialize built document\n");



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


Mime
View raw message