axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r395780 [1/4] - in /webservices/axis2/trunk/c: include/ include/xml_schema/ modules/xml/om/ modules/xml/soap/ modules/xml/xml_schema/
Date Fri, 21 Apr 2006 05:01:04 GMT
Author: nandika
Date: Thu Apr 20 22:00:55 2006
New Revision: 395780

URL: http://svn.apache.org/viewcvs?rev=395780&view=rev
Log:
AXIS2_OM_NODE_GET_BUILD_STATUS renamed to AXIS2_OM_NODE_IS_COMPLETE which is more appropriate 
name and xml_schema files updated , axis2_xml_schema_external added

Added:
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_external.h
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_external.c
Modified:
    webservices/axis2/trunk/c/include/axis2_om_node.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_validation_event_handler.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_all.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_annotated.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_annotation.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_any.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_app_info.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_choice.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_collection.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_content_processing.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_data_type.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_derivation_method.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_element.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_enum.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_facet.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_form.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_group.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_group_base.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_group_ref.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_identity_constraint.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_obj_collection.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_obj_table.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_particle.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_sequence.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_type.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_use.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_xpath.h
    webservices/axis2/trunk/c/include/xml_schema/axis2_xml_tokenized_type.h
    webservices/axis2/trunk/c/modules/xml/om/axis2_om_node_internal.h
    webservices/axis2/trunk/c/modules/xml/om/om_document.c
    webservices/axis2/trunk/c/modules/xml/om/om_element.c
    webservices/axis2/trunk/c/modules/xml/om/om_navigator.c
    webservices/axis2/trunk/c/modules/xml/om/om_node.c
    webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c
    webservices/axis2/trunk/c/modules/xml/om/om_text.c
    webservices/axis2/trunk/c/modules/xml/soap/soap11_builder_helper.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_body.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_fault.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_fault_code.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_fault_reason.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_fault_sub_code.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_header.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/validation_event_handler.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_all.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_annotated.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_annotation.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_any.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_app_info.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_choice.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_collection.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_content_processing.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_data_type.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_derivation_method.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_element.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_enum.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_facet.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_form.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_group.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_group_base.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_group_ref.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_identity_constraint.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_obj.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_obj_collection.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_obj_table.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_particle.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_sequence.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_type.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_type_receiver.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_use.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_schema_xpath.c
    webservices/axis2/trunk/c/modules/xml/xml_schema/xml_tokenized_type.c

Modified: webservices/axis2/trunk/c/include/axis2_om_node.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_om_node.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_om_node.h (original)
+++ webservices/axis2/trunk/c/include/axis2_om_node.h Thu Apr 20 22:00:55 2006
@@ -222,14 +222,14 @@
     get_data_element)(axis2_om_node_t  *om_node,
                       axis2_env_t **env);    
     /**
-    * get_build_status 
+    * Indicates whether parser has parsed this information item completely or not 
     * @param om_node om_node struct
     * @param env environment, MUST NOT be NULL.
     * @returns AXIS2_TRUE if node is completly build, 
     *          AXIS2_FALSE if node is not completed
     */                                                
     axis2_bool_t (AXIS2_CALL *
-    get_build_status)(axis2_om_node_t  *om_node,
+    is_complete)(axis2_om_node_t  *om_node,
                       axis2_env_t **env); 
    /**
     * returns the associated document,
@@ -299,8 +299,9 @@
 #define AXIS2_OM_NODE_GET_PREVIOUS_SIBLING(om_node,env) \
         ((om_node)->ops->get_previous_sibling(om_node,env))
 /** get build status */
-#define AXIS2_OM_NODE_GET_BUILD_STATUS(om_node,env) \
-        ((om_node)->ops->get_build_status(om_node,env))
+
+#define AXIS2_OM_NODE_IS_COMPLETE(om_node,env) \
+        ((om_node)->ops->is_complete(om_node,env))
 /** get data element of this node can be om_element om_text etc */
 #define AXIS2_OM_NODE_GET_DATA_ELEMENT(om_node,env) \
         ((om_node)->ops->get_data_element(om_node,env))

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_validation_event_handler.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_validation_event_handler.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_validation_event_handler.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_validation_event_handler.h Thu Apr 20 22:00:55 2006
@@ -14,11 +14,11 @@
  * limitations under the License.
  */
 
-#ifndef AXIS2_XML_SCHEMA_VALIDATION_EVENT_HANDLER_H
-#define AXIS2_XML_SCHEMA_VALIDATION_EVENT_HANDLER_H
+#ifndef AXIS2_VALIDATION_EVENT_HANDLER_H
+#define AXIS2_VALIDATION_EVENT_HANDLER_H
 
 /**
- * @file axis2_xml_schema_validation_event_handler.h
+ * @file axis2_validation_event_handler.h
  * @brief Axis2 Xml Schema Validation Event Handler  interface
  */
 
@@ -35,49 +35,42 @@
 {
 #endif
 
-typedef struct axis2_xml_schema_validation_event_handler axis2_xml_schema_validation_event_handler_t;
-typedef struct axis2_xml_schema_validation_event_handler_ops axis2_xml_schema_validation_event_handler_ops_t;
+typedef struct axis2_validation_event_handler 
+                axis2_validation_event_handler_t;
+typedef struct axis2_validation_event_handler_ops 
+                axis2_validation_event_handler_ops_t;
 
-/** @defgroup axis2_xml_schema_validation_event_handler Xml Schema Validation Event Handler
+/** @defgroup axis2_validation_event_handler Xml Schema Validation Event Handler
   * @ingroup axis2_xml_schema
   * @{
   */
 
-struct axis2_xml_schema_validation_event_handler_ops
+struct axis2_validation_event_handler_ops
 {
 	/** 
      * Deallocate memory
      * @return status code
      */
     axis2_status_t (AXIS2_CALL *
-    free) (void *axis2_validation_event_handler,
+    free) (axis2_validation_event_handler_t *veh,
             axis2_env_t **env);
 
 };
 
-struct axis2_xml_schema_validation_event_handler
+struct axis2_validation_event_handler
 {
-    axis2_xml_schema_validation_event_handler_ops_t *ops;
+    axis2_validation_event_handler_ops_t *ops;
 };
 
-AXIS2_DECLARE(axis2_xml_schema_validation_event_handler_t *)
-axis2_xml_schema_validation_event_handler_create(axis2_env_t **env);
+AXIS2_DECLARE(axis2_validation_event_handler_t *)
+axis2_validation_event_handler_create(axis2_env_t **env);
 
-/**
- * This method is internal to Axis2 C. It is called from Child Constructor
- */
-AXIS2_DECLARE(axis2_status_t)
-axis2_xml_schema_validation_event_handler_resolve_methods(axis2_xml_schema_validation_event_handler_t *schema_axis2_validation_event_handler,
-                                        axis2_env_t **env,
-                                        axis2_xml_schema_validation_event_handler_t *schema_axis2_validation_event_handler_impl,
-                                        axis2_hash_t *methods);
-
-#define AXIS2_XML_SCHEMA_VALIDATION_EVENT_HANDLER_FREE(axis2_validation_event_handler, env) \
-		(((axis2_xml_schema_validation_event_handler_t *) axis2_validation_event_handler)->ops->free (axis2_validation_event_handler, env))
+#define AXIS2_VALIDATION_EVENT_HANDLER_FREE(validation_event_handler, env) \
+		((( validation_event_handler)->ops->free (validation_event_handler, env))
 
 
 /** @} */
 #ifdef __cplusplus
 }
 #endif
-#endif /* AXIS2_XML_SCHEMA_VALIDATION_EVENT_HANDLER_H */
+#endif /* AXIS2_VALIDATION_EVENT_HANDLER_H */

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema.h Thu Apr 20 22:00:55 2006
@@ -25,10 +25,11 @@
  *          Represents the World Wide Web Consortium (W3C) schema element
  */
 
-#include <xml_schema/axis2_xml_schema_annotated.h>
+#include <axis2_xml_schema_annotated.h>
 #include <axis2_om_element.h>
 #include <axis2_om_node.h>
 #include <axis2_hash.h>
+#include <axis2_validation_event_handler.h>
 
 /** @defgroup axis2_xml_schema Xml Schema
   * @ingroup axis2_xml_schema
@@ -37,7 +38,6 @@
 
 typedef struct axis2_xml_schema axis2_xml_schema_t;
 typedef struct axis2_xml_schema_ops axis2_xml_schema_ops_t;
-struct axis2_xml_schema_validation_event_handler;
 struct axis2_xml_schema_form;
 struct axis2_xml_schema_obj_table;
 struct axis2_xml_schema_derivation_method;
@@ -170,7 +170,7 @@
     axis2_status_t (AXIS2_CALL *
     compile) (void *schema,
                     axis2_env_t **env,
-                    struct axis2_xml_schema_validation_event_handler *eh);
+                    axis2_validation_event_handler_t  *veh);
 
     axis2_status_t (AXIS2_CALL *
     write_a_out) (void *schema,

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_all.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_all.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_all.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_all.h Thu Apr 20 22:00:55 2006
@@ -25,7 +25,7 @@
  *          Wide Web Consortium (W3C) all element (compositor).
  */
 
-#include <xml_schema/axis2_xml_schema_group_base.h>
+#include <axis2_xml_schema_group_base.h>
 #include <axis2_hash.h>
 
 /** @defall axis2_xml_schema_all Xml Schema All

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_annotated.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_annotated.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_annotated.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_annotated.h Thu Apr 20 22:00:55 2006
@@ -22,17 +22,18 @@
  * @brief Axis2 Xml Schema Annotated Interface
  */
 
-#include <xml_schema/axis2_xml_schema_obj.h>
+#include <axis2_xml_schema_obj.h>
 
 /** @defgroup axis2_xml_schema_annotated Xml Schema Annotated
   * @ingroup axis2_xml_schema
   * @{
   */
 
-typedef struct axis2_xml_schema_annotated axis2_xml_schema_annotated_t;
-typedef struct axis2_xml_schema_annotated_ops axis2_xml_schema_annotated_ops_t;
-struct axis2_xml_schema;
-
+typedef struct axis2_xml_schema_annotated 
+                    axis2_xml_schema_annotated_t;
+typedef struct axis2_xml_schema_annotated_ops 
+                    axis2_xml_schema_annotated_ops_t;
+                    
 #ifdef __cplusplus
 extern "C"
 {

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_annotation.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_annotation.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_annotation.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_annotation.h Thu Apr 20 22:00:55 2006
@@ -22,7 +22,7 @@
  * @brief Axis2 Xml Schema Annotation Interface
  */
 
-#include <xml_schema/axis2_xml_schema_obj.h>
+#include <axis2_xml_schema_obj.h>
 #include <axis2_hash.h>
 
 /** @defgroup axis2_xml_schema_annotation Xml Schema Annotation
@@ -85,6 +85,9 @@
 		(((axis2_xml_schema_annotation_t *) annotation)->ops->\
             get_items(annotation, env))
 
+#define AXIS2_XML_SCHEMA_ANNOTATION_GET_BASE_IMPL(annotation, env) \
+		(((axis2_xml_schema_annotation_t *) annotation)->ops->\
+            get_base_impl(annotation, env))
 
 /** @} */
 #ifdef __cplusplus

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_any.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_any.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_any.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_any.h Thu Apr 20 22:00:55 2006
@@ -26,8 +26,8 @@
  *
  */
 
-#include <xml_schema/axis2_xml_schema_particle.h>
-#include <xml_schema/axis2_xml_schema_content_processing.h>
+#include <axis2_xml_schema_particle.h>
+#include <axis2_xml_schema_content_processing.h>
 
 /** @defgroup axis2_xml_schema_any Xml Schema Any
   * @ingroup axis2_xml_schema
@@ -63,19 +63,17 @@
 
     axis2_status_t (AXIS2_CALL *
     set_namespace) (void *any,
-                        axis2_env_t **env,
-                        axis2_char_t *namespc);
+                    axis2_env_t **env,
+                    axis2_char_t *ns);
 
     struct axis2_xml_schema_content_processing *(AXIS2_CALL *
     get_process_content) (void *any,
-                            axis2_env_t **env);
+                          axis2_env_t **env);
 
     axis2_status_t (AXIS2_CALL *
-    set_process_content) (void *any,
-                            axis2_env_t **env,
-                            struct axis2_xml_schema_content_processing *
-                            process_content);
- 
+    set_process_content)(void *any,
+                        axis2_env_t **env,
+                        struct axis2_xml_schema_content_processing *process_content);
 };
 
 struct axis2_xml_schema_any

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_app_info.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_app_info.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_app_info.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_app_info.h Thu Apr 20 22:00:55 2006
@@ -25,7 +25,7 @@
  *
  */
 
-#include <xml_schema/axis2_xml_schema_obj.h>
+#include <axis2_xml_schema_obj.h>
 #include <axis2_hash.h>
 
 /** @defgroup axis2_xml_schema_app_info Xml Schema App Info

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_choice.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_choice.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_choice.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_choice.h Thu Apr 20 22:00:55 2006
@@ -24,7 +24,7 @@
  *          the World Wide Web Consortium (W3C) choice (compositor) element.
  */
 
-#include <xml_schema/axis2_xml_schema_group_base.h>
+#include <axis2_xml_schema_group_base.h>
 #include <axis2_hash.h>
 
 /** @defchoice axis2_xml_schema_choice Xml Schema Choice
@@ -32,8 +32,11 @@
   * @{
   */
 
-typedef struct axis2_xml_schema_choice axis2_xml_schema_choice_t;
-typedef struct axis2_xml_schema_choice_ops axis2_xml_schema_choice_ops_t;
+typedef struct axis2_xml_schema_choice 
+                axis2_xml_schema_choice_t;
+typedef struct axis2_xml_schema_choice_ops 
+                axis2_xml_schema_choice_ops_t;
+                
 struct axis2_xml_schema_group_base;
 struct axis2_xml_schema_obj_collection;
 
@@ -83,6 +86,7 @@
                                 axis2_env_t **env,
                                 axis2_xml_schema_choice_t *choice_impl,
                                 axis2_hash_t *methods);
+/***************** MACROS *****************************************************/
 
 #define AXIS2_XML_SCHEMA_CHOICE_FREE(choice, env) \
 		(((axis2_xml_schema_choice_t *) choice)->ops->\
@@ -96,6 +100,7 @@
 		(((axis2_xml_schema_choice_t *) choice)->ops->\
             get_items(choice, env))
 
+/**************** END MACROS ****************************************************/
 /** @} */
 #ifdef __cplusplus
 }

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_collection.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_collection.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_collection.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_collection.h Thu Apr 20 22:00:55 2006
@@ -31,7 +31,8 @@
 #include <axis2_array_list.h>
 #include <axis2_hash.h>
 #include <axis2_qname.h>
-#include <xml_schema/axis2_xml_schema_obj.h>
+#include <axis2_xml_schema_obj.h>
+#include <axis2_validation_event_handler.h>
 
 #ifdef __cplusplus
 extern "C"
@@ -41,8 +42,6 @@
 typedef struct axis2_xml_schema_collection axis2_xml_schema_collection_t;
 typedef struct axis2_xml_schema_collection_ops axis2_xml_schema_collection_ops_t;
 struct axis2_xml_schema;
-struct axis2_xml_schema_validation_event_handler;
-struct axis2_om_element;
 struct axis2_om_node;
 struct axis2_xml_schema_type_receiver;
 struct axis2_xml_schema_type;
@@ -59,8 +58,8 @@
      * @return status code
      */
     axis2_status_t (AXIS2_CALL *
-    free) (void *collection,
-            axis2_env_t **env);
+    free) (axis2_xml_schema_collection_t* collection,
+           axis2_env_t **env);
 
     /**
      * Set the base URI. This is used when schemas need to be
@@ -68,105 +67,101 @@
      * @param base_uri
      */
     axis2_status_t (AXIS2_CALL *
-    set_base_uri) (void *collection,
-                                                axis2_env_t **env,
-                                                axis2_char_t *base_uri);
-
+    set_base_uri) (axis2_xml_schema_collection_t* collection,
+                   axis2_env_t **env,
+                   axis2_char_t *base_uri);
+                   
     /**
      * This section should comply to the XMLSchema specification
      * @see http://www.w3.org/TR/2004/PER-xmlschema-2-20040318/datatypes.html#built-in-datatypes
-     *
-     * This needs to be inspected by another pair of eyes
      */
     axis2_status_t (AXIS2_CALL * 
-    init) (void *collection,
-                                        axis2_env_t **env);
+    init) (axis2_xml_schema_collection_t* collection,
+           axis2_env_t **env);
 
 
-    struct axis2_xml_schema *(AXIS2_CALL *
+    struct axis2_xml_schema* (AXIS2_CALL *
     read_a_reader_and_validation_event_handler) (
-                                void *collection,
+                                axis2_xml_schema_collection_t* collection,
                                 axis2_env_t **env,
                                 void *reader, 
-                                struct axis2_xml_schema_validation_event_handler *veh); 
+                                axis2_validation_event_handler_t *veh); 
 
-    struct axis2_xml_schema *(AXIS2_CALL *
+    struct axis2_xml_schema* (AXIS2_CALL *
     read_a_input_source_and_validation_event_handler) (
-                                void *collection,
+                                axis2_xml_schema_collection_t* collection,
                                 axis2_env_t **env,
                                 void *input_source, 
-                                struct axis2_xml_schema_validation_event_handler *veh);
+                                axis2_validation_event_handler_t *veh);
 
     struct axis2_xml_schema *(AXIS2_CALL *
     read_a_source_and_validation_event_handler) (
-                                void *collection,
+                                axis2_xml_schema_collection_t* collection,
                                 axis2_env_t **env,
                                 void *source, 
-                                struct axis2_xml_schema_validation_event_handler *veh); 
+                                axis2_validation_event_handler_t *veh); 
 
     struct axis2_xml_schema *(AXIS2_CALL *
     read_a_document_and_validation_event_handler) (
-                                void *collection,
+                                axis2_xml_schema_collection_t* collection,
                                 axis2_env_t **env,
-                                void *source, 
-                                struct axis2_xml_schema_validation_event_handler *veh);
+                                void *document, 
+                                axis2_validation_event_handler_t *veh);
 
     struct axis2_xml_schema *(AXIS2_CALL *
-    read_a_element) (
-                        void *collection,
-                        axis2_env_t **env,
-                        struct axis2_om_element *element, 
-                        struct axis2_om_node *node);
+    read_a_element) (axis2_xml_schema_collection_t* collection,
+                     axis2_env_t **env,
+                     struct axis2_om_node *node);
 
-    struct axis2_xml_schema *(AXIS2_CALL *
-    read_a_document_and_uri_and_validation_event_handler) (
-                                void *collection,
+    struct axis2_xml_schema* (AXIS2_CALL *
+    read_a_document_uri_and_validation_event_handler) (
+                                axis2_xml_schema_collection_t* collection,
                                 axis2_env_t **env,
                                 void *document,
                                 axis2_char_t *uri,
-                                struct axis2_xml_schema_validation_event_handler *veh); 
+                                axis2_validation_event_handler_t *veh); 
 
     struct axis2_xml_schema *(AXIS2_CALL *
-    read_a_element_and_uri) (
-                                void *collection,
-                                axis2_env_t **env,
-                                struct axis2_om_element *element,
-                                struct axis2_om_node *node,
-                                axis2_char_t *uri);
+    read_a_element_and_uri) (axis2_xml_schema_collection_t* collection,
+                             axis2_env_t **env,
+                             struct axis2_om_node *node,
+                             axis2_char_t *uri);
 
     struct axis2_xml_schema_element *(AXIS2_CALL *
-    get_element_by_qname) (void *collection,
-                                     axis2_env_t **env,
-                                     axis2_qname_t *qname);
+    get_element_by_qname) (axis2_xml_schema_collection_t* collection,
+                           axis2_env_t **env,
+                           axis2_qname_t *qname);
 
     struct axis2_xml_schema_type *(AXIS2_CALL *
-    get_type_by_qname) (void *collection,
-                                 axis2_env_t **env,
-                                 axis2_qname_t *schema_type_qname);
+    get_type_by_qname) (axis2_xml_schema_collection_t* collection,
+                        axis2_env_t **env,
+                        axis2_qname_t *schema_type_qname);
 
 
     axis2_status_t (AXIS2_CALL *
-    add_unresolved_type) (void *collection,
-                                axis2_env_t **env,
-                                axis2_qname_t *qtype, 
-                                struct axis2_xml_schema_type_receiver *receiver); 
+    add_unresolved_type) (axis2_xml_schema_collection_t* collection,
+                          axis2_env_t **env,
+                          axis2_qname_t *qtype, 
+                          struct axis2_xml_schema_type_receiver *receiver); 
 
     axis2_status_t (AXIS2_CALL *
-    resolve_type) (void *collection,
-                                axis2_env_t **env,
-                                axis2_qname_t *type_qame, 
-                                struct axis2_xml_schema_type *type); 
+    resolve_type) (axis2_xml_schema_collection_t* collection,
+                    axis2_env_t **env,
+                    axis2_qname_t *type_qame, 
+                    struct axis2_xml_schema_type *type); 
 
     axis2_char_t *(AXIS2_CALL *
-    get_namespace_for_prefix) (void *collection,
-                                        axis2_env_t **env,
-                                        axis2_char_t *prefix); 
+    get_namespace_for_prefix) 
+                    (axis2_xml_schema_collection_t *collection,
+                     axis2_env_t **env,
+                     axis2_char_t *prefix); 
+                     
 
     axis2_status_t (AXIS2_CALL *
-    map_namespace) (void *collection,
-                                axis2_env_t **env,
-                                axis2_char_t *prefix, 
-                                axis2_char_t *namespc_uri);
+    map_namespace) (axis2_xml_schema_collection_t* collection,
+                    axis2_env_t **env,
+                    axis2_char_t *prefix, 
+                    axis2_char_t *namespc_uri);
 
 };
 
@@ -178,20 +173,55 @@
 AXIS2_DECLARE(axis2_xml_schema_collection_t *)
 axis2_xml_schema_collection_create(axis2_env_t **env);
 
-/**
- * This method is internal to Axis2 C. It is called from Child Constructor
- */
-AXIS2_DECLARE(axis2_status_t)
-axis2_xml_schema_collection_resolve_methods(
-                        axis2_xml_schema_collection_t *collection,
-                        axis2_env_t **env,
-                        axis2_xml_schema_collection_t *collection_impl,
-                        axis2_hash_t *methods);
+/***************** MACROS *****************************************************/
 
 #define AXIS2_XML_SCHEMA_COLLECTION_FREE(collection, env) \
-		(((axis2_xml_schema_collection_t *) collection)->ops->free (collection, env))
-
-
+		((collection)->ops->free (collection, env))
+		
+#define AXIS2_XML_SCHEMA_COLLECTION_SET_BASE_URI(collection, env, base_uri) \
+		((collection)->ops->set_base_uri (collection, env, base_uri))
+		
+#define AXIS2_XML_SCHEMA_COLLECTION_INIT(collection, env) \
+		((collection)->ops->init (collection, env))
+		
+#define AXIS2_XML_SCHEMA_COLLECTION_READ_A_READER_AND_VALIDATION_EVENT_HANDLER( \
+        collection, env, reader, veh ) \
+        ((collection)->ops->read_a_reader_and_validation_event_handler( \
+        collection, env, reader, veh ))
+        
+#define AXIS2_XML_SCHEMA_COLLECTION_READ_A_INPUT_SOURCE_AND_VALIDATION_EVENT_HANDLER( \
+        collection, env, input_source, veh) \
+        ((collection)->ops->read_a_input_source_and_validation_event_handler( \
+        collection, env, input_source, veh))
+        
+#define AXIS2_XML_SCHEMA_COLLECTION_READ_A_SOURCE_AND_VALIDATION_EVENT_HANDLER( \
+        collection, env, source, veh) \
+        ((collection)->ops->read_a_source_and_validation_event_handler( \
+        collection, env, source, veh))
+        
+#define AXIS2_XML_SCHEMA_COLLECTION_READ_A_DOCUMENT_AND_VALIDATION_EVENT_HANDLER( \
+        collection, env, doc, veh ) \
+        ((collection)->ops->read_a_document_and_validation_event_handler( \
+        collection, env, doc, veh))
+        
+
+        
+#define AXIS2_XML_SCHEMA_COLLECTION_READ_A_DOCUMENT_URI_AND_VALIDATION_EVENT_HANDLER( \
+        collection , env, document, uri , veh) \
+        ((collection)->ops->read_a_document_uri_and_validation_event_handler( \
+        collection , env, document, uri , veh))
+        
+#define AXIS2_XML_SCHEMA_COLLECTION_READ_A_DOCUMENT_URI_AND_VALIDATION_EVENT_HANDLER( \
+        collection , env, document, uri , veh) \
+        ((collection)->ops->read_a_document_uri_and_validation_event_handler( \
+        collection , env, document, uri , veh))
+/*        
+#define AXIS2_XML_SCHEMA_COLLECTION_READ_A_ELEMENT_AND_URI( \
+        collection, env, element, uri ) \
+        ((collection)->ops->read_a_element_and_uri(collection, env, element, uri))                 
+#define AXIS2_XML_SCHEMA_COLLECTION_READ_A_ELEMENT(collection, env, element) \   
+        ((collection)->ops->read_a_element(collection, env, element))
+*/
 /** @} */
 #ifdef __cplusplus
 }

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_content_processing.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_content_processing.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_content_processing.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_content_processing.h Thu Apr 20 22:00:55 2006
@@ -24,7 +24,7 @@
  *
  */
 
-#include <xml_schema/axis2_xml_schema_enum.h>
+#include <axis2_xml_schema_enum.h>
 
 /** @defgroup axis2_xml_schema_content_processing Xml Schema Content Processing
   * @ingroup axis2_xml_schema
@@ -33,6 +33,7 @@
 
 typedef struct axis2_xml_schema_content_processing 
         axis2_xml_schema_content_processing_t;
+        
 typedef struct axis2_xml_schema_content_processing_ops 
         axis2_xml_schema_content_processing_ops_t;
 

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_data_type.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_data_type.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_data_type.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_data_type.h Thu Apr 20 22:00:55 2006
@@ -102,7 +102,6 @@
 		(((axis2_xml_schema_data_type_t *) data_type)->ops->tokenized_type (\
         data_type, env))
 
-
 /** @} */
 #ifdef __cplusplus
 }

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_derivation_method.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_derivation_method.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_derivation_method.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_derivation_method.h Thu Apr 20 22:00:55 2006
@@ -24,7 +24,7 @@
  *
  */
 
-#include <xml_schema/axis2_xml_schema_enum.h>
+#include <axis2_xml_schema_enum.h>
 
 /** @defgroup axis2_xml_schema_derivation_method Xml Schema Derivation Method
   * @ingroup axis2_xml_schema
@@ -80,13 +80,16 @@
                                 axis2_hash_t *methods);
 
 #define AXIS2_XML_SCHEMA_DERIVATION_METHOD_FREE(derivation_method, env) \
-		(((axis2_xml_schema_derivation_method_t *) derivation_method)->ops->free(derivation_method, env))
+		(((axis2_xml_schema_derivation_method_t *) \
+		 derivation_method)->ops->free(derivation_method, env))
 
 #define AXIS2_XML_SCHEMA_DERIVATION_METHOD_GET_BASE_IMPL(derivation_method, env) \
-		(((axis2_xml_schema_derivation_method_t *) derivation_method)->ops->get_base_impl(derivation_method, env))
+		(((axis2_xml_schema_derivation_method_t *) \
+		derivation_method)->ops->get_base_impl(derivation_method, env))
 
 #define AXIS2_XML_SCHEMA_DERIVATION_METHOD_GET_VALUES(derivation_method, env) \
-		(((axis2_xml_schema_derivation_method_t *) derivation_method)->ops->values(derivation_method, env))
+		(((axis2_xml_schema_derivation_method_t *) \
+		derivation_method)->ops->values(derivation_method, env))
 
 /** @} */
 #ifdef __cplusplus

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_element.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_element.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_element.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_element.h Thu Apr 20 22:00:55 2006
@@ -24,7 +24,7 @@
  *          element element.
  */
 
-#include <xml_schema/axis2_xml_schema_type_receiver.h>
+#include <axis2_xml_schema_type_receiver.h>
 #include <axis2_qname.h>
 
 /** @defgroup axis2_xml_schema_element Xml Schema Element

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_enum.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_enum.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_enum.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_enum.h Thu Apr 20 22:00:55 2006
@@ -91,10 +91,12 @@
                                       axis2_xml_schema_enum_t *schema_enum_impl,
                                       axis2_hash_t *methods);
 
-int AXIS2_CALL
+AXIS2_DECLARE(int)
 axis2_xml_schema_enum_index(axis2_char_t *value,
-                            axis2_array_list_t *values,
-                            axis2_env_t **env);
+                            axis2_env_t **env,
+                            axis2_array_list_t *values);
+                            
+/***************** macros ****************************************************/                           
 
 #define AXIS2_XML_SCHEMA_ENUM_FREE(schema_enum, env) \
 		(((axis2_xml_schema_enum_t *) schema_enum)->ops->free (schema_enum, env))
@@ -114,6 +116,7 @@
 		(((axis2_xml_schema_enum_t *) schema_enum)->ops->get_values \
          (schema_enum, env))
 
+/**************** end macros *************************************************/
 /** @} */
 #ifdef __cplusplus
 }

Added: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_external.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_external.h?rev=395780&view=auto
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_external.h (added)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_external.h Thu Apr 20 22:00:55 2006
@@ -0,0 +1,112 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef AXIS2_XML_SCHEMA_EXTERNAL_H
+#define AXIS2_XML_SCHEMA_EXTERNAL_H
+
+/**
+ * @file axis2_xml_schema_external.h
+ * @brief Axis2 Xml Schema Particle Interface
+ *          Base class for all external types.
+ */
+
+#include <axis2_xml_schema_annotated.h>
+#include <axis2_hash.h>
+
+/** @defgroup axis2_xml_schema_external Xml Schema Particle
+  * @ingroup axis2_xml_schema
+  * @{
+  */
+
+typedef struct axis2_xml_schema_external 
+                    axis2_xml_schema_external_t;
+typedef struct axis2_xml_schema_external_ops 
+                    axis2_xml_schema_external_ops_t;
+                    
+struct axis2_xml_schema;                    
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+struct axis2_xml_schema_external_ops
+{
+	/** 
+     * Deallocate memory
+     * @return status code
+     */
+    axis2_status_t (AXIS2_CALL *
+    free) (void *external,
+            axis2_env_t **env);
+
+    struct axis2_xml_schema* (AXIS2_CALL *
+    get_schema)(void *external,
+                axis2_env_t **env);
+                
+    axis2_status_t (AXIS2_CALL *
+    set_schema)(void *external,
+                axis2_env_t **env,
+                struct axis2_xml_schema* schema);
+
+    axis2_xml_schema_annotated_t* (AXIS2_CALL *
+    get_base_impl)(void *external,
+                   axis2_env_t **env);
+};
+
+struct axis2_xml_schema_external
+{
+    axis2_xml_schema_annotated_t base;
+    axis2_xml_schema_external_ops_t *ops;
+};
+
+/**
+ * Creates new Xml Schema external
+ */
+AXIS2_DECLARE(axis2_xml_schema_external_t *)
+axis2_xml_schema_external_create(axis2_env_t **env);
+
+/**
+ * This method is internal to Axis2 C. It is called from Child Constructor
+ */
+AXIS2_DECLARE(axis2_status_t)
+axis2_xml_schema_external_resolve_methods(
+                                axis2_xml_schema_external_t *external,
+                                axis2_env_t **env,
+                                axis2_xml_schema_external_t *external_impl,
+                                axis2_hash_t *methods);
+
+#define AXIS2_XML_SCHEMA_EXTERNAL_FREE(external, env) \
+		(((axis2_xml_schema_external_t *) external)->ops->\
+            free(external, env))
+
+#define AXIS2_XML_SCHEMA_EXTERNAL_GET_BASE_IMPL(external, env) \
+		(((axis2_xml_schema_external_t *) external)->ops->\
+            get_base_impl(external, env))
+
+#define AXIS2_XML_SCHEMA_EXTERNAL_GET_SCHEMA(external, env) \
+		(((axis2_xml_schema_external_t *) external)->ops->\
+            get_schema(external, env))
+
+#define AXIS2_XML_SCHEMA_EXTERNAL_SET_SCHEMA(external, env, max_occurs) \
+		(((axis2_xml_schema_external_t *) external)->ops->\
+            set_schema(external, env, max_occurs))
+
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+#endif /* AXIS2_XML_SCHEMA_EXTERNAL_H */

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_facet.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_facet.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_facet.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_facet.h Thu Apr 20 22:00:55 2006
@@ -24,7 +24,7 @@
  *          derived by restriction.
  */
 
-#include <xml_schema/axis2_xml_schema_annotated.h>
+#include <axis2_xml_schema_annotated.h>
 #include <axis2_om_element.h>
 #include <axis2_om_node.h>
 #include <axis2_hash.h>
@@ -74,12 +74,6 @@
                     axis2_env_t **env,
                     void *value);
 
-    axis2_xml_schema_facet_t *(AXIS2_CALL *
-    construct) (axis2_xml_schema_facet_t *facet,
-                axis2_env_t **env,
-                axis2_om_element_t *element,
-                axis2_om_node_t **node);
-               
 };
 
 struct axis2_xml_schema_facet
@@ -105,6 +99,11 @@
                                 axis2_env_t **env,
                                 axis2_xml_schema_facet_t *facet_impl,
                                 axis2_hash_t *methods);
+                                
+AXIS2_DECLARE(axis2_xml_schema_facet_t *)
+axis2_xml_schema_facet_construct(axis2_env_t **env,
+                                 axis2_om_node_t *node);
+                                                                 
 
 #define AXIS2_XML_SCHEMA_FACET_FREE(facet, env) \
 		(((axis2_xml_schema_facet_t *) facet)->ops->\
@@ -129,10 +128,6 @@
 #define AXIS2_XML_SCHEMA_FACET_SET_VALUE(facet, env, value) \
 		(((axis2_xml_schema_facet_t *) facet)->ops->\
             set_value(facet, env, value))
-
-#define AXIS2_XML_SCHEMA_FACET_CONSTRUCT(facet, env, element, node) \
-		(((axis2_xml_schema_facet_t *) facet)->ops->\
-            construct(facet, env, element, node))
 
 /** @} */
 #ifdef __cplusplus

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_form.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_form.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_form.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_form.h Thu Apr 20 22:00:55 2006
@@ -25,7 +25,7 @@
  *
  */
 
-#include <xml_schema/axis2_xml_schema_enum.h>
+#include <axis2_xml_schema_enum.h>
 
 /** @defgroup axis2_xml_schema_form Xml Schema Form
   * @ingroup axis2_xml_schema

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_group.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_group.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_group.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_group.h Thu Apr 20 22:00:55 2006
@@ -26,7 +26,7 @@
  *          Represents the World Wide Web Consortium (W3C) group element.
  */
 
-#include <xml_schema/axis2_xml_schema_annotated.h>
+#include <axis2_xml_schema_annotated.h>
 #include <axis2_hash.h>
 
 /** @defgroup axis2_xml_schema_group Xml Schema Group

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_group_base.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_group_base.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_group_base.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_group_base.h Thu Apr 20 22:00:55 2006
@@ -25,17 +25,18 @@
  *
  */
 
-#include <xml_schema/axis2_xml_schema_particle.h>
-#include <xml_schema/axis2_xml_schema_obj_collection.h>
+#include <axis2_xml_schema_particle.h>
+#include <axis2_xml_schema_obj_collection.h>
 
 /** @defgroup axis2_xml_schema_group_base Xml Schema Group Base
   * @ingroup axis2_xml_schema
   * @{
   */
 
-typedef struct axis2_xml_schema_group_base axis2_xml_schema_group_base_t;
-typedef struct axis2_xml_schema_group_base_ops axis2_xml_schema_group_base_ops_t;
-struct axis2_xml_schema_content_processing_t;
+typedef struct axis2_xml_schema_group_base 
+                    axis2_xml_schema_group_base_t;
+typedef struct axis2_xml_schema_group_base_ops 
+                    axis2_xml_schema_group_base_ops_t;
 
 #ifdef __cplusplus
 extern "C"

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_group_ref.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_group_ref.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_group_ref.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_group_ref.h Thu Apr 20 22:00:55 2006
@@ -25,7 +25,7 @@
  *          Web Consortium (W3C) group element with ref attribute.
  */
 
-#include <xml_schema/axis2_xml_schema_particle.h>
+#include <axis2_xml_schema_particle.h>
 #include <axis2_hash.h>
 #include <axis2_qname.h>
 

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_identity_constraint.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_identity_constraint.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_identity_constraint.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_identity_constraint.h Thu Apr 20 22:00:55 2006
@@ -23,7 +23,7 @@
  *          Class for the identity constraints: key, keyref, and unique elements.
  */
 
-#include <xml_schema/axis2_xml_schema_annotated.h>
+#include <axis2_xml_schema_annotated.h>
 #include <axis2_hash.h>
 
 /** @defidentity_constraint axis2_xml_schema_identity_constraint Xml Schema 

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_obj_collection.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_obj_collection.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_obj_collection.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_obj_collection.h Thu Apr 20 22:00:55 2006
@@ -31,15 +31,17 @@
 #include <axis2.h>
 #include <axis2_array_list.h>
 #include <axis2_hash.h>
-#include <xml_schema/axis2_xml_schema_obj.h>
+#include <axis2_xml_schema_obj.h>
 
 #ifdef __cplusplus
 extern "C"
 {
 #endif
 
-typedef struct axis2_xml_schema_obj_collection axis2_xml_schema_obj_collection_t;
-typedef struct axis2_xml_schema_obj_collection_ops axis2_xml_schema_obj_collection_ops_t;
+typedef struct axis2_xml_schema_obj_collection 
+                    axis2_xml_schema_obj_collection_t;
+typedef struct axis2_xml_schema_obj_collection_ops 
+                    axis2_xml_schema_obj_collection_ops_t;
 
 /** @defgroup axis2_xml_schema_obj_collection Xml Schema Obj Collection
   * @ingroup axis2_xml_schema
@@ -53,43 +55,47 @@
      * @return status code
      */
     axis2_status_t (AXIS2_CALL *
-    free) (void *obj_collection,
+    free) (axis2_xml_schema_obj_collection_t *obj_collection,
             axis2_env_t **env);
 
     int (AXIS2_CALL *
-    get_count) (void *obj_collection,
+    get_count) (axis2_xml_schema_obj_collection_t *obj_collection,
                     axis2_env_t **env);
 
     axis2_xml_schema_obj_t *(AXIS2_CALL *
-    get_item) (void *obj_collection,
+    get_item) (axis2_xml_schema_obj_collection_t *obj_collection,
                     axis2_env_t **env,
                     int i);
 
     axis2_status_t (AXIS2_CALL *
-    set_item) (void *obj_collection,
+    set_item) (axis2_xml_schema_obj_collection_t *obj_collection,
                     axis2_env_t **env,
                     int i,
                     axis2_xml_schema_obj_t *item);
 
     axis2_status_t (AXIS2_CALL *
-    add) (void *obj_collection,
+    add) (axis2_xml_schema_obj_collection_t *obj_collection,
                     axis2_env_t **env,
                     axis2_xml_schema_obj_t *item);
 
     axis2_bool_t (AXIS2_CALL *
-    contains) (void *obj_collection,
+    contains) (axis2_xml_schema_obj_collection_t *obj_collection,
                         axis2_env_t **env,
                         axis2_xml_schema_obj_t *item);
 
     axis2_status_t (AXIS2_CALL *
-    index_of) (void *obj_collection,
+    index_of) (axis2_xml_schema_obj_collection_t *obj_collection,
                         axis2_env_t **env,
                         axis2_xml_schema_obj_t *item);
 
-    axis2_status_t (AXIS2_CALL *
-    remove_at) (void *obj_collection,
+    void* (AXIS2_CALL *
+    remove_at) (axis2_xml_schema_obj_collection_t *obj_collection,
                 axis2_env_t **env,
                 int i);
+                
+    axis2_array_list_t* (AXIS2_CALL *
+    to_array)(axis2_xml_schema_obj_collection_t *obj_collection,
+              axis2_env_t **env);                
 
 };
 
@@ -101,42 +107,34 @@
 AXIS2_DECLARE(axis2_xml_schema_obj_collection_t *)
 axis2_xml_schema_obj_collection_create(axis2_env_t **env);
 
-/**
- * This method is internal to Axis2 C. It is called from Child Constructor
- */
-AXIS2_DECLARE(axis2_status_t)
-axis2_xml_schema_obj_collection_resolve_methods(
-                        axis2_xml_schema_obj_collection_t *obj_collection,
-                        axis2_env_t **env,
-                        axis2_xml_schema_obj_collection_t *obj_collection_impl,
-                        axis2_hash_t *methods);
-
+/******************* MACROS ***************************************************/
 #define AXIS2_XML_SCHEMA_OBJ_COLLECTION_FREE(obj_collection, env) \
-		(((axis2_xml_schema_obj_collection_t *) obj_collection)->ops->free (obj_collection, env))
+		((obj_collection)->ops->free (obj_collection, env))
 
 #define AXIS2_XML_SCHEMA_OBJ_COLLECTION_GET_COUNT(obj_collection, env) \
-		(((axis2_xml_schema_obj_collection_t *) obj_collection)->ops->get_count (obj_collection, env))
+		((obj_collection)->ops->get_count (obj_collection, env))
 
 #define AXIS2_XML_SCHEMA_OBJ_COLLECTION_GET_ITEM(obj_collection, env, i) \
-		(((axis2_xml_schema_obj_collection_t *) obj_collection)->ops->get_item (obj_collection, env, i))
+		((obj_collection)->ops->get_item (obj_collection, env, i))
 
 #define AXIS2_XML_SCHEMA_OBJ_COLLECTION_SET_ITEM(obj_collection, env, i, item) \
-		(((axis2_xml_schema_obj_collection_t *) obj_collection)->ops->set_item (obj_collection, env, i, item))
+		((obj_collection)->ops->set_item (obj_collection, env, i, item))
 
 #define AXIS2_XML_SCHEMA_OBJ_COLLECTION_ADD(obj_collection, env, item) \
-		(((axis2_xml_schema_obj_collection_t *) obj_collection)->ops->add (obj_collection, env, item))
+		((obj_collection)->ops->add (obj_collection, env, item))
 
 #define AXIS2_XML_SCHEMA_OBJ_COLLECTION_CONTAINS(obj_collection, env, item) \
-		(((axis2_xml_schema_obj_collection_t *) obj_collection)->ops->contains (obj_collection, env, item))
+		((obj_collection)->ops->contains (obj_collection, env, item))
 
 #define AXIS2_XML_SCHEMA_OBJ_COLLECTION_INDEX_OF(obj_collection, env, item) \
-		(((axis2_xml_schema_obj_collection_t *) obj_collection)->ops->index_of (obj_collection, env, \
-                                                                item))
+		((obj_collection)->ops->index_of (obj_collection, env, item))
 
 #define AXIS2_XML_SCHEMA_OBJ_COLLECTION_REMOVE_AT(obj_collection, env, i) \
-		(((axis2_xml_schema_obj_collection_t *) obj_collection)->ops->remove_at (obj_collection, env, i))
-
+		((obj_collection)->ops->remove_at (obj_collection, env, i))
 
+#define AXIS2_XML_SCHEMA_OBJ_COLLECTION_TO_ARRAY(obj_collection, env) \
+        ((obj_collection)->ops->to_array(obj_collection, env))
+        
 /** @} */
 #ifdef __cplusplus
 }

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_obj_table.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_obj_table.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_obj_table.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_obj_table.h Thu Apr 20 22:00:55 2006
@@ -35,15 +35,17 @@
 #include <axis2_array_list.h>
 #include <axis2_hash.h>
 #include <axis2_qname.h>
-#include <xml_schema/axis2_xml_schema_obj.h>
+#include <axis2_xml_schema_obj.h>
 
 #ifdef __cplusplus
 extern "C"
 {
 #endif
 
-typedef struct axis2_xml_schema_obj_table axis2_xml_schema_obj_table_t;
-typedef struct axis2_xml_schema_obj_table_ops axis2_xml_schema_obj_table_ops_t;
+typedef struct axis2_xml_schema_obj_table 
+                    axis2_xml_schema_obj_table_t;
+typedef struct axis2_xml_schema_obj_table_ops 
+                    axis2_xml_schema_obj_table_ops_t;
 
 /** @defgroup axis2_xml_schema_obj_table Xml Schema Obj Table
   * @ingroup axis2_xml_schema
@@ -57,33 +59,33 @@
      * @return status code
      */
     axis2_status_t (AXIS2_CALL *
-    free) (void *obj_table,
+    free) (axis2_xml_schema_obj_table_t *obj_table,
             axis2_env_t **env);
 
     int (AXIS2_CALL *
-    get_count) (void *obj_table,
+    get_count) (axis2_xml_schema_obj_table_t *obj_table,
                 axis2_env_t **env);
 
     axis2_xml_schema_obj_t *(AXIS2_CALL *
-    get_item) (void *obj_table,
+    get_item) (axis2_xml_schema_obj_table_t *obj_table,
                axis2_env_t **env,
                axis2_qname_t *qname);
 
     axis2_array_list_t *(AXIS2_CALL *
-    get_names) (void *obj_table,
+    get_names) (axis2_xml_schema_obj_table_t *obj_table,
                 axis2_env_t **env);
 
     axis2_array_list_t *(AXIS2_CALL *
-    get_values) (void *obj_table,
+    get_values) (axis2_xml_schema_obj_table_t *obj_table,
                  axis2_env_t **env);
 
     axis2_bool_t (AXIS2_CALL *
-    contains) (void *obj_table,
+    contains) (axis2_xml_schema_obj_table_t *obj_table,
                axis2_env_t **env,
                axis2_qname_t *qname);
 
     axis2_status_t (AXIS2_CALL *
-    add) (void *obj_table,
+    add) (axis2_xml_schema_obj_table_t *obj_table,
           axis2_env_t **env,
           axis2_qname_t *qname,
           axis2_xml_schema_obj_t *value);
@@ -97,37 +99,27 @@
 AXIS2_DECLARE(axis2_xml_schema_obj_table_t *)
 axis2_xml_schema_obj_table_create(axis2_env_t **env);
 
-/**
- * This method is internal to Axis2 C. It is called from Child Constructor
- */
-AXIS2_DECLARE(axis2_status_t)
-axis2_xml_schema_obj_table_resolve_methods(
-                        axis2_xml_schema_obj_table_t *obj_table,
-                        axis2_env_t **env,
-                        axis2_xml_schema_obj_table_t *obj_table_impl,
-                        axis2_hash_t *methods);
-
+/********************* macros ************************************************/
 #define AXIS2_XML_SCHEMA_OBJ_TABLE_FREE(obj_table, env) \
-		(((axis2_xml_schema_obj_table_t *) obj_table)->ops->free (obj_table, env))
+		((obj_table)->ops->free (obj_table, env))
 
 #define AXIS2_XML_SCHEMA_OBJ_TABLE_GET_COUNT(obj_table, env) \
-		(((axis2_xml_schema_obj_table_t *) obj_table)->ops->get_count (obj_table, env))
+		((obj_table)->ops->get_count (obj_table, env))
 
 #define AXIS2_XML_SCHEMA_OBJ_TABLE_GET_ITEM(obj_table, env, qname) \
-		(((axis2_xml_schema_obj_table_t *) obj_table)->ops->get_item (obj_table, env, qname))
+		((obj_table)->ops->get_item (obj_table, env, qname))
 
 #define AXIS2_XML_SCHEMA_OBJ_TABLE_GET_NAMES(obj_table, env) \
-		(((axis2_xml_schema_obj_table_t *) obj_table)->ops->get_names (obj_table, env))
+		((obj_table)->ops->get_names (obj_table, env))
 
 #define AXIS2_XML_SCHEMA_OBJ_TABLE_GET_VALUES(obj_table, env) \
-		(((axis2_xml_schema_obj_table_t *) obj_table)->ops->get_values (obj_table, env))
+		((obj_table)->ops->get_values (obj_table, env))
 
 #define AXIS2_XML_SCHEMA_OBJ_TABLE_CONTAINS(obj_table, env, qname) \
-		(((axis2_xml_schema_obj_table_t *) obj_table)->ops->contains (obj_table, env, qname))
+		((obj_table)->ops->contains (obj_table, env, qname))
 
 #define AXIS2_XML_SCHEMA_OBJ_TABLE_ADD(obj_table, env, value) \
-		(((axis2_xml_schema_obj_table_t *) obj_table)->ops->add (obj_table, env, value))
-
+		((obj_table)->ops->add (obj_table, env, value))
 
 /** @} */
 #ifdef __cplusplus

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_particle.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_particle.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_particle.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_particle.h Thu Apr 20 22:00:55 2006
@@ -23,7 +23,7 @@
  *          Base class for all particle types.
  */
 
-#include <xml_schema/axis2_xml_schema_annotated.h>
+#include <axis2_xml_schema_annotated.h>
 #include <axis2_hash.h>
 
 /** @defgroup axis2_xml_schema_particle Xml Schema Particle
@@ -31,8 +31,10 @@
   * @{
   */
 
-typedef struct axis2_xml_schema_particle axis2_xml_schema_particle_t;
-typedef struct axis2_xml_schema_particle_ops axis2_xml_schema_particle_ops_t;
+typedef struct axis2_xml_schema_particle 
+                    axis2_xml_schema_particle_t;
+typedef struct axis2_xml_schema_particle_ops 
+                    axis2_xml_schema_particle_ops_t;
 
 #ifdef __cplusplus
 extern "C"

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_sequence.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_sequence.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_sequence.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_sequence.h Thu Apr 20 22:00:55 2006
@@ -25,7 +25,7 @@
  *          (W3C) sequence (compositor) element.
  */
 
-#include <xml_schema/axis2_xml_schema_group_base.h>
+#include <axis2_xml_schema_group_base.h>
 #include <axis2_hash.h>
 
 /** @defsequence axis2_xml_schema_sequence Xml Schema Sequence
@@ -33,8 +33,10 @@
   * @{
   */
 
-typedef struct axis2_xml_schema_sequence axis2_xml_schema_sequence_t;
-typedef struct axis2_xml_schema_sequence_ops axis2_xml_schema_sequence_ops_t;
+typedef struct axis2_xml_schema_sequence 
+                    axis2_xml_schema_sequence_t;
+typedef struct axis2_xml_schema_sequence_ops 
+                    axis2_xml_schema_sequence_ops_t;
 struct axis2_xml_schema_group_base;
 struct axis2_xml_schema_obj_collection;
 

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_type.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_type.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_type.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_type.h Thu Apr 20 22:00:55 2006
@@ -23,7 +23,7 @@
  *          The base class for all simple types and complex types.
  */
 
-#include <xml_schema/axis2_xml_schema_annotated.h>
+#include <axis2_xml_schema_annotated.h>
 #include <axis2_hash.h>
 #include <axis2_qname.h>
 

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_use.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_use.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_use.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_use.h Thu Apr 20 22:00:55 2006
@@ -24,7 +24,7 @@
  *
  */
 
-#include <xml_schema/axis2_xml_schema_enum.h>
+#include <axis2_xml_schema_enum.h>
 
 /** @defgroup axis2_xml_schema_use Xml Schema Use
   * @ingroup axis2_xml_schema

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_xpath.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_xpath.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_xpath.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_schema_xpath.h Thu Apr 20 22:00:55 2006
@@ -26,7 +26,7 @@
  *          Xml Schema XPath classes.
  */
 
-#include <xml_schema/axis2_xml_schema_annotated.h>
+#include <axis2_xml_schema_annotated.h>
 #include <axis2_om_element.h>
 #include <axis2_om_node.h>
 #include <axis2_hash.h>

Modified: webservices/axis2/trunk/c/include/xml_schema/axis2_xml_tokenized_type.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/xml_schema/axis2_xml_tokenized_type.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/xml_schema/axis2_xml_tokenized_type.h (original)
+++ webservices/axis2/trunk/c/include/xml_schema/axis2_xml_tokenized_type.h Thu Apr 20 22:00:55 2006
@@ -24,7 +24,7 @@
  *
  */
 
-#include <xml_schema/axis2_xml_schema_enum.h>
+#include <axis2_xml_schema_enum.h>
 
 /** @defgroup axis2_xml_tokenized_type Xml Tokenized Type
   * @ingroup axis2_xml_schema

Modified: webservices/axis2/trunk/c/modules/xml/om/axis2_om_node_internal.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/om/axis2_om_node_internal.h?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/om/axis2_om_node_internal.h (original)
+++ webservices/axis2/trunk/c/modules/xml/om/axis2_om_node_internal.h Thu Apr 20 22:00:55 2006
@@ -117,14 +117,14 @@
                                axis2_env_t **env,
                                void* data_element);
 /**
-* set build status, if the node if completety build build status is
+* sets the build status , if the node if completety build, this attribute  is
 * set to AXIS2_TRUE , otherwise AXIS2_FALSE  
 * @param om_node 
 * @param env environment, MUST NOT be NULL.
 * @param done                   
 */                                    
 AXIS2_DECLARE(axis2_status_t)
-axis2_om_node_set_build_status(axis2_om_node_t *om_node,
+axis2_om_node_set_complete(axis2_om_node_t *om_node,
                                axis2_env_t **env,
                                axis2_bool_t done);  
   

Modified: webservices/axis2/trunk/c/modules/xml/om/om_document.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/om/om_document.c?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/om/om_document.c (original)
+++ webservices/axis2/trunk/c/modules/xml/om/om_document.c Thu Apr 20 22:00:55 2006
@@ -203,7 +203,7 @@
         return last_child;
     }
     else if ((NULL != document->root_element) &&
-        (AXIS2_OM_NODE_GET_BUILD_STATUS(document->root_element, env) == AXIS2_TRUE))
+        (AXIS2_OM_NODE_IS_COMPLETE(document->root_element, env) == AXIS2_TRUE))
         return NULL;            /* Nothing wrong but done with pulling */
     
     last_child = AXIS2_OM_STAX_BUILDER_NEXT (document->builder, env);
@@ -295,7 +295,7 @@
             ret_val = AXIS2_OM_DOCUMENT_BUILD_NEXT(document,env);
                 if(!ret_val)
                 {
-                    if(AXIS2_OM_NODE_GET_BUILD_STATUS(doc_impl->root_element, env) 
+                    if(AXIS2_OM_NODE_IS_COMPLETE(doc_impl->root_element, env) 
                             == AXIS2_TRUE)
                     {
                         /** document is completly build */
@@ -307,7 +307,7 @@
                         return NULL;
                     }            
                 }
-           }while( !AXIS2_OM_NODE_GET_BUILD_STATUS(doc_impl->root_element,env));
+           }while( !AXIS2_OM_NODE_IS_COMPLETE(doc_impl->root_element,env));
         return doc_impl->root_element;
     }
     else

Modified: webservices/axis2/trunk/c/modules/xml/om/om_element.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/om/om_element.c?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/om/om_element.c (original)
+++ webservices/axis2/trunk/c/modules/xml/om/om_element.c Thu Apr 20 22:00:55 2006
@@ -281,7 +281,7 @@
         AXIS2_OM_NODE_ADD_CHILD(parent, env, (*node));
          
     }
-    axis2_om_node_set_build_status((*node), env, AXIS2_FALSE);
+    axis2_om_node_set_complete((*node), env, AXIS2_FALSE);
     axis2_om_node_set_node_type((*node), env, AXIS2_OM_ELEMENT);
     axis2_om_node_set_data_element((*node), env, element);
 
@@ -1473,7 +1473,7 @@
     builder = axis2_om_node_get_builder(om_ele_node, env);
     if(!builder)
         return AXIS2_FAILURE;
-    while(!AXIS2_OM_NODE_GET_BUILD_STATUS(om_ele_node, env) && 
+    while(!AXIS2_OM_NODE_IS_COMPLETE(om_ele_node, env) && 
             !AXIS2_OM_STAX_BUILDER_IS_COMPLETE(builder, env))
     {
         void *value  = NULL;

Modified: webservices/axis2/trunk/c/modules/xml/om/om_navigator.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/om/om_navigator.c?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/om/om_navigator.c (original)
+++ webservices/axis2/trunk/c/modules/xml/om/om_navigator.c Thu Apr 20 22:00:55 2006
@@ -234,7 +234,7 @@
 		{
 			navigator_impl->next = 	AXIS2_OM_NODE_GET_FIRST_CHILD(navigator_impl->next, env);
 		}
-		else if(AXIS2_TRUE == AXIS2_OM_NODE_GET_BUILD_STATUS(navigator_impl->next, env))
+		else if(AXIS2_TRUE == AXIS2_OM_NODE_IS_COMPLETE(navigator_impl->next, env))
 		{
 			navigator_impl->backtracked = AXIS2_TRUE;				
 		}			
@@ -256,7 +256,7 @@
 		{
 			navigator_impl->next = next_sibling;	
 		}			
-		else if((NULL != parent) && AXIS2_OM_NODE_GET_BUILD_STATUS(parent, env))
+		else if((NULL != parent) && AXIS2_OM_NODE_IS_COMPLETE(parent, env))
 		{
 			navigator_impl->next = parent;
 			navigator_impl->backtracked = AXIS2_TRUE;	

Modified: webservices/axis2/trunk/c/modules/xml/om/om_node.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/om/om_node.c?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/om/om_node.c (original)
+++ webservices/axis2/trunk/c/modules/xml/om/om_node.c Thu Apr 20 22:00:55 2006
@@ -87,7 +87,7 @@
                                axis2_env_t **env);                                
 
 axis2_bool_t AXIS2_CALL
-axis2_om_node_get_build_status(axis2_om_node_t *om_node,
+axis2_om_node_is_complete(axis2_om_node_t *om_node,
                                axis2_env_t **env);
 
 struct axis2_om_document* AXIS2_CALL
@@ -181,7 +181,7 @@
     node->om_node.ops->get_previous_sibling = axis2_om_node_get_previous_sibling;
     node->om_node.ops->get_parent = axis2_om_node_get_parent ;
     node->om_node.ops->get_node_type = axis2_om_node_get_node_type;
-    node->om_node.ops->get_build_status = axis2_om_node_get_build_status;
+    node->om_node.ops->is_complete = axis2_om_node_is_complete;
     node->om_node.ops->get_data_element = axis2_om_node_get_data_element;
     node->om_node.ops->get_document = axis2_om_node_get_document;
         
@@ -632,7 +632,7 @@
     om_node_impl = AXIS2_INTF_TO_IMPL(om_node);
     /*****************************************************/
     while(!(om_node_impl->next_sibling) && om_node_impl->parent &&
-    om_node_impl->builder && !(AXIS2_OM_NODE_GET_BUILD_STATUS(om_node_impl->parent, env)))
+    om_node_impl->builder && !(AXIS2_OM_NODE_IS_COMPLETE(om_node_impl->parent, env)))
     {
         token = AXIS2_OM_STAX_BUILDER_NEXT_WITH_TOKEN(om_node_impl->builder, env);
         if(token == -1)
@@ -651,7 +651,7 @@
 }
 
 axis2_bool_t AXIS2_CALL
-axis2_om_node_get_build_status(axis2_om_node_t *om_node,
+axis2_om_node_is_complete(axis2_om_node_t *om_node,
                                axis2_env_t **env)
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
@@ -766,7 +766,7 @@
 
 */
 AXIS2_DECLARE(axis2_status_t)
-axis2_om_node_set_build_status(axis2_om_node_t *om_node,
+axis2_om_node_set_complete(axis2_om_node_t *om_node,
                                axis2_env_t **env,
                                axis2_bool_t done)
 {

Modified: webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c (original)
+++ webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c Thu Apr 20 22:00:55 2006
@@ -205,6 +205,7 @@
                 }                        
             }
         }
+        
         attr_name = AXIS2_XML_READER_GET_ATTRIBUTE_NAME_BY_NUMBER(
                                  builder_impl->parser, env, i);
         
@@ -230,6 +231,8 @@
             AXIS2_XML_READER_XML_FREE(builder_impl->parser, env, attr_name);
         if(attr_value)
             AXIS2_XML_READER_XML_FREE(builder_impl->parser, env, attr_value);
+            
+        ns = NULL;            
     }
     return status;
 }
@@ -260,7 +263,7 @@
         return NULL;
     }
   
-    if (AXIS2_OM_NODE_GET_BUILD_STATUS(builder->lastnode, env))
+    if (AXIS2_OM_NODE_IS_COMPLETE(builder->lastnode, env))
     {
         axis2_om_text_create (env, 
                               AXIS2_OM_NODE_GET_PARENT(builder->lastnode, env),
@@ -272,7 +275,7 @@
         axis2_om_text_create (env, builder->lastnode, temp_value, &node);
     }
 
-    axis2_om_node_set_build_status(node , env, AXIS2_TRUE);
+    axis2_om_node_set_complete(node , env, AXIS2_TRUE);
     builder->lastnode = node;
     
     AXIS2_XML_READER_XML_FREE(builder->parser , env, temp_value);
@@ -295,7 +298,7 @@
     
     element = builder->lastnode;
 
-    if (AXIS2_OM_NODE_GET_BUILD_STATUS(element, env) || !(builder->cache))
+    if (AXIS2_OM_NODE_IS_COMPLETE(element, env) || !(builder->cache))
     {
         AXIS2_ERROR_SET((*env)->error,
                 AXIS2_ERROR_INVALID_BUILDER_STATE_CANNOT_DISCARD, AXIS2_FAILURE);
@@ -309,7 +312,7 @@
         while (AXIS2_XML_READER_NEXT (builder->parser, env)
                 != AXIS2_XML_READER_END_ELEMENT);
     }
-    while (!(AXIS2_OM_NODE_GET_BUILD_STATUS(element, env)));
+    while (!(AXIS2_OM_NODE_IS_COMPLETE(element, env)));
 
     /*All children of this element is pulled now */
 
@@ -479,7 +482,7 @@
             AXIS2_OM_DOCUMENT_SET_ROOT_ELEMENT(builder_impl->document, env, element_node);
         }
     }
-    else if(AXIS2_OM_NODE_GET_BUILD_STATUS(builder_impl->lastnode, env))
+    else if(AXIS2_OM_NODE_IS_COMPLETE(builder_impl->lastnode, env))
     {   
         axis2_om_element_t *om_ele = NULL;
         
@@ -546,7 +549,7 @@
         AXIS2_XML_READER_XML_FREE(builder_impl->parser , env, comment_value);
         return NULL;   
     }
-    else if (AXIS2_OM_NODE_GET_BUILD_STATUS(builder_impl->lastnode, env))
+    else if (AXIS2_OM_NODE_IS_COMPLETE(builder_impl->lastnode, env))
     {
         axis2_om_comment_create (env, 
                 AXIS2_OM_NODE_GET_PARENT(builder_impl->lastnode, env),
@@ -632,7 +635,7 @@
         AXIS2_XML_READER_XML_FREE(builder_impl->parser , env, value);
         return NULL;
     }
-    else if (AXIS2_OM_NODE_GET_BUILD_STATUS(builder_impl->lastnode, env) ||
+    else if (AXIS2_OM_NODE_IS_COMPLETE(builder_impl->lastnode, env) ||
      (AXIS2_OM_NODE_GET_NODE_TYPE(builder_impl->lastnode, env) == AXIS2_OM_TEXT))
     {
         axis2_om_processing_instruction_create(env,
@@ -675,23 +678,23 @@
     
     if (builder->lastnode)
     {
-        if (AXIS2_OM_NODE_GET_BUILD_STATUS((builder->lastnode), env))
+        if (AXIS2_OM_NODE_IS_COMPLETE((builder->lastnode), env))
         {
             parent = AXIS2_OM_NODE_GET_PARENT((builder->lastnode), env);
             if (parent)
             {
-                axis2_om_node_set_build_status(parent, env, AXIS2_TRUE);
+                axis2_om_node_set_complete(parent, env, AXIS2_TRUE);
                 builder->lastnode= parent;
             }
         }
         else
         {
-            axis2_om_node_set_build_status((builder->lastnode), env, AXIS2_TRUE);
+            axis2_om_node_set_complete((builder->lastnode), env, AXIS2_TRUE);
         }
     }
     if(builder->root_node)
     {
-        if(AXIS2_OM_NODE_GET_BUILD_STATUS(builder->root_node , env))
+        if(AXIS2_OM_NODE_IS_COMPLETE(builder->root_node , env))
         {
             builder->done = AXIS2_TRUE;
         }   

Modified: webservices/axis2/trunk/c/modules/xml/om/om_text.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/om/om_text.c?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/om/om_text.c (original)
+++ webservices/axis2/trunk/c/modules/xml/om/om_text.c Thu Apr 20 22:00:55 2006
@@ -181,7 +181,7 @@
 
     axis2_om_node_set_data_element((*node), env, om_text);
     axis2_om_node_set_node_type((*node), env, AXIS2_OM_TEXT);
-    axis2_om_node_set_build_status((*node), env, AXIS2_FALSE);
+    axis2_om_node_set_complete((*node), env, AXIS2_FALSE);
 
     if (parent && AXIS2_OM_NODE_GET_NODE_TYPE(parent, env) == AXIS2_OM_ELEMENT)
     {

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap11_builder_helper.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap11_builder_helper.c?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap11_builder_helper.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap11_builder_helper.c Thu Apr 20 22:00:55 2006
@@ -228,7 +228,7 @@
             }
             axis2_om_stax_builder_set_lastnode(builder_helper_impl->om_builder,
                                                 env, om_element_node); 
-            axis2_om_node_set_build_status(om_element_node, env, AXIS2_TRUE); 
+            axis2_om_node_set_complete(om_element_node, env, AXIS2_TRUE); 
             
             axis2_om_stax_builder_set_element_level(builder_helper_impl->om_builder, 
                     env, (element_level-1));
@@ -274,7 +274,7 @@
             
             axis2_om_stax_builder_set_lastnode(builder_helper_impl->om_builder, env, om_element_node);
             
-            axis2_om_node_set_build_status(om_element_node, env, AXIS2_TRUE);
+            axis2_om_node_set_complete(om_element_node, env, AXIS2_TRUE);
             
             axis2_om_stax_builder_set_element_level(builder_helper_impl->om_builder, 
                 env , (element_level -1));

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_body.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_body.c?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_body.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_body.c Thu Apr 20 22:00:55 2006
@@ -235,7 +235,7 @@
     else{
         if(NULL != body_impl->soap_builder )
         {
-            while(!(body_impl->soap_fault) && !(AXIS2_OM_NODE_GET_BUILD_STATUS(body_impl->om_ele_node, env)))
+            while(!(body_impl->soap_fault) && !(AXIS2_OM_NODE_IS_COMPLETE(body_impl->om_ele_node, env)))
             {
                 status = AXIS2_SOAP_BUILDER_NEXT(body_impl->soap_builder, env);
                 if(status == AXIS2_FAILURE)
@@ -272,7 +272,7 @@
     }
     else if(NULL != body_impl->soap_builder )
     {
-        while(!(body_impl->soap_fault) && !(AXIS2_OM_NODE_GET_BUILD_STATUS(body_impl->om_ele_node, env)))
+        while(!(body_impl->soap_fault) && !(AXIS2_OM_NODE_IS_COMPLETE(body_impl->om_ele_node, env)))
         {
             int status = AXIS2_SUCCESS;
             status = AXIS2_SOAP_BUILDER_NEXT(body_impl->soap_builder, env);
@@ -370,7 +370,7 @@
     soap_body_impl = AXIS2_INTF_TO_IMPL(body);
     if(soap_body_impl->om_ele_node && soap_body_impl->soap_builder)
     {
-        while(AXIS2_OM_NODE_GET_BUILD_STATUS(soap_body_impl->om_ele_node, env) != AXIS2_TRUE)
+        while(AXIS2_OM_NODE_IS_COMPLETE(soap_body_impl->om_ele_node, env) != AXIS2_TRUE)
         {
             status = AXIS2_SOAP_BUILDER_NEXT(soap_body_impl->soap_builder, env);
             if(status == AXIS2_FAILURE)

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c Thu Apr 20 22:00:55 2006
@@ -815,7 +815,7 @@
     {
         om_node = AXIS2_SOAP_HEADER_GET_BASE_NODE(soap_header, env);
         if(om_node)
-        {        while(!AXIS2_OM_NODE_GET_BUILD_STATUS(om_node, env))
+        {        while(!AXIS2_OM_NODE_IS_COMPLETE(om_node, env))
                 {
                     status = axis2_soap_builder_next(builder, env);
                     if(status == AXIS2_FAILURE)

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c Thu Apr 20 22:00:55 2006
@@ -359,7 +359,7 @@
     }
     else if(envelope_impl->soap_builder)
     {
-        while(!(envelope_impl->header) && !AXIS2_OM_NODE_GET_BUILD_STATUS(
+        while(!(envelope_impl->header) && !AXIS2_OM_NODE_IS_COMPLETE(
                 envelope_impl->om_ele_node, env))
         {
             status = AXIS2_SOAP_BUILDER_NEXT(envelope_impl->soap_builder, env);  
@@ -409,7 +409,7 @@
     }
     else if(envelope_impl->soap_builder)
     {
-        while(!(envelope_impl->body)  && !AXIS2_OM_NODE_GET_BUILD_STATUS(envelope_impl->om_ele_node, env))
+        while(!(envelope_impl->body)  && !AXIS2_OM_NODE_IS_COMPLETE(envelope_impl->om_ele_node, env))
         {
             status = AXIS2_SOAP_BUILDER_NEXT(envelope_impl->soap_builder, env);
             if(status == AXIS2_FAILURE)

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_fault.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_fault.c?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_fault.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_fault.c Thu Apr 20 22:00:55 2006
@@ -330,7 +330,7 @@
     } 
     else if(fault_impl->soap_builder)
     {
-        while(!(fault_impl->fcode) && !(AXIS2_OM_NODE_GET_BUILD_STATUS(fault_impl->om_ele_node, env)))
+        while(!(fault_impl->fcode) && !(AXIS2_OM_NODE_IS_COMPLETE(fault_impl->om_ele_node, env)))
         {
             status = AXIS2_SOAP_BUILDER_NEXT(fault_impl->soap_builder, env);
             if(status == AXIS2_FAILURE)
@@ -380,7 +380,7 @@
     } 
     else if(fault_impl->soap_builder)
     {
-        while(!(fault_impl->freason) && !(AXIS2_OM_NODE_GET_BUILD_STATUS(fault_impl->om_ele_node, env)))
+        while(!(fault_impl->freason) && !(AXIS2_OM_NODE_IS_COMPLETE(fault_impl->om_ele_node, env)))
         {
             status = AXIS2_SOAP_BUILDER_NEXT(fault_impl->soap_builder, env);
             if(status == AXIS2_FAILURE)
@@ -432,7 +432,7 @@
     } 
     else if(fault_impl->soap_builder)
     {
-        while(!(fault_impl->fnode) && !(AXIS2_OM_NODE_GET_BUILD_STATUS(fault_impl->om_ele_node, env)))
+        while(!(fault_impl->fnode) && !(AXIS2_OM_NODE_IS_COMPLETE(fault_impl->om_ele_node, env)))
         {
             status = AXIS2_SOAP_BUILDER_NEXT(fault_impl->soap_builder, env);
             if(status == AXIS2_FAILURE)
@@ -486,7 +486,7 @@
     } 
     else if(fault_impl->soap_builder)
     {
-        while(!(fault_impl->frole) && !(AXIS2_OM_NODE_GET_BUILD_STATUS(fault_impl->om_ele_node, env)))
+        while(!(fault_impl->frole) && !(AXIS2_OM_NODE_IS_COMPLETE(fault_impl->om_ele_node, env)))
         {
             status = AXIS2_SOAP_BUILDER_NEXT(fault_impl->soap_builder, env);
             if(status == AXIS2_FAILURE)
@@ -538,7 +538,7 @@
     } 
     else if(fault_impl->soap_builder)
     {
-        while(!(fault_impl->fdetail) && !(AXIS2_OM_NODE_GET_BUILD_STATUS(fault_impl->om_ele_node, env)))
+        while(!(fault_impl->fdetail) && !(AXIS2_OM_NODE_IS_COMPLETE(fault_impl->om_ele_node, env)))
         {
             status = AXIS2_SOAP_BUILDER_NEXT(fault_impl->soap_builder, env);
             if(status == AXIS2_FAILURE)

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_fault_code.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_fault_code.c?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_fault_code.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_fault_code.c Thu Apr 20 22:00:55 2006
@@ -285,7 +285,7 @@
     else if(NULL != fault_code_impl->builder)
     {
         while(!(fault_code_impl->subcode) && 
-            !(AXIS2_OM_NODE_GET_BUILD_STATUS(fault_code_impl->om_ele_node, env)))
+            !(AXIS2_OM_NODE_IS_COMPLETE(fault_code_impl->om_ele_node, env)))
         {
             status = AXIS2_SOAP_BUILDER_NEXT(fault_code_impl->builder, env);
             if(status == AXIS2_FAILURE)
@@ -316,7 +316,7 @@
     else if(fault_code_impl->builder)
     {
         while(!(fault_code_impl->value) && 
-            !(AXIS2_OM_NODE_GET_BUILD_STATUS(fault_code_impl->om_ele_node, env)))
+            !(AXIS2_OM_NODE_IS_COMPLETE(fault_code_impl->om_ele_node, env)))
         {
             status = AXIS2_SOAP_BUILDER_NEXT(fault_code_impl->builder, env);
             if(status == AXIS2_FAILURE)

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_fault_reason.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_fault_reason.c?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_fault_reason.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_fault_reason.c Thu Apr 20 22:00:55 2006
@@ -273,9 +273,9 @@
     {
     
         if(NULL != fault_reason_impl->soap_builder &&
-            !(AXIS2_OM_NODE_GET_BUILD_STATUS(fault_reason_impl->om_ele_node, env)))
+            !(AXIS2_OM_NODE_IS_COMPLETE(fault_reason_impl->om_ele_node, env)))
         {
-            while(!(AXIS2_OM_NODE_GET_BUILD_STATUS(fault_reason_impl->om_ele_node, env)))
+            while(!(AXIS2_OM_NODE_IS_COMPLETE(fault_reason_impl->om_ele_node, env)))
             {
                 status = AXIS2_SOAP_BUILDER_NEXT(fault_reason_impl->soap_builder, env);
                 if(status == AXIS2_FAILURE)
@@ -366,9 +366,9 @@
     
     if(!(fault_reason_impl->fault_texts) && (NULL != fault_reason_impl->soap_builder))
     {
-       if(!(AXIS2_OM_NODE_GET_BUILD_STATUS(fault_reason_impl->om_ele_node, env)))
+       if(!(AXIS2_OM_NODE_IS_COMPLETE(fault_reason_impl->om_ele_node, env)))
         {
-            while(!(AXIS2_OM_NODE_GET_BUILD_STATUS(fault_reason_impl->om_ele_node, env)))
+            while(!(AXIS2_OM_NODE_IS_COMPLETE(fault_reason_impl->om_ele_node, env)))
             {
                 status = AXIS2_SOAP_BUILDER_NEXT(fault_reason_impl->soap_builder, env);
                 if(status == AXIS2_FAILURE)
@@ -391,9 +391,9 @@
     
     if(!(fault_reason_impl->fault_texts) && (NULL != fault_reason_impl->soap_builder))
     {
-       if(!(AXIS2_OM_NODE_GET_BUILD_STATUS(fault_reason_impl->om_ele_node, env)))
+       if(!(AXIS2_OM_NODE_IS_COMPLETE(fault_reason_impl->om_ele_node, env)))
         {
-            while(!(AXIS2_OM_NODE_GET_BUILD_STATUS(fault_reason_impl->om_ele_node, env)))
+            while(!(AXIS2_OM_NODE_IS_COMPLETE(fault_reason_impl->om_ele_node, env)))
             {
                 status = AXIS2_SOAP_BUILDER_NEXT(fault_reason_impl->soap_builder, env);
                 if(status == AXIS2_FAILURE)

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_fault_sub_code.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_fault_sub_code.c?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_fault_sub_code.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_fault_sub_code.c Thu Apr 20 22:00:55 2006
@@ -260,7 +260,7 @@
     if(fault_subcode_impl->builder)
     {
         while(!(fault_subcode_impl->value) &&  
-                !AXIS2_OM_NODE_GET_BUILD_STATUS(fault_subcode_impl->om_ele_node, env))
+                !AXIS2_OM_NODE_IS_COMPLETE(fault_subcode_impl->om_ele_node, env))
         {
             status = AXIS2_SOAP_BUILDER_NEXT(fault_subcode_impl->builder, env); 
             if(status == AXIS2_FAILURE)
@@ -314,7 +314,7 @@
     if(fault_subcode_impl->builder)
     {
         while(!(fault_subcode_impl->subcode) && 
-            !AXIS2_OM_NODE_GET_BUILD_STATUS(fault_subcode_impl->om_ele_node, env))
+            !AXIS2_OM_NODE_IS_COMPLETE(fault_subcode_impl->om_ele_node, env))
         {
             status = AXIS2_SOAP_BUILDER_NEXT(fault_subcode_impl->builder, env);   
             if(status == AXIS2_FAILURE)

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_header.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_header.c?rev=395780&r1=395779&r2=395780&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_header.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_header.c Thu Apr 20 22:00:55 2006
@@ -317,7 +317,7 @@
         axis2_char_t *uri = NULL;
         axis2_char_t *prefix = NULL;
         
-        axis2_om_node_set_build_status(header_block_node, env, AXIS2_TRUE);
+        axis2_om_node_set_complete(header_block_node, env, AXIS2_TRUE);
         
         hb_ele = (axis2_om_element_t *)
             AXIS2_OM_NODE_GET_DATA_ELEMENT(header_block_node, env);



Mime
View raw message