woden_schema_constants.h

00001 /*
00002  * Copyright 2004,2005 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *      http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016  
00017 #ifndef WODEN_SCHEMA_CONSTANTS_H
00018 #define WODEN_SCHEMA_CONSTANTS_H
00019 
00026 #include <axis2_utils.h>
00027 #include <axis2_qname.h>
00028 
00029 #ifdef __cplusplus
00030 extern "C" 
00031 {
00032 #endif
00033     
00038 /*********************************** Constansts********************************/
00039 
00040 
00041 /* Schema attribute names */
00042 #define WODEN_ATTR_ID "id"
00043 #define WODEN_ATTR_SCHEMA_LOCATION "schemaLocation"
00044 
00045 /* Schema element names */
00046 #define WODEN_ELEM_SCHEMA "schema"
00047 #define WODEN_ELEM_SCHEMA_IMPORT "import"
00048 #define WODEN_ELEM_SCHEMA_INCLUDE "include"
00049 #define WODEN_ELEM_SCHEMA_REDEFINE "redefine"
00050 
00051 /* Schema uri */
00052 #define WODEN_NS_URI_XSD_1999 "http://www.w3.org/1999/XMLSchema"
00053 #define WODEN_NS_URI_XSD_2000 "http://www.w3.org/2000/10/XMLSchema"
00054 #define WODEN_NS_URI_XSD_2001 "http://www.w3.org/2001/XMLSchema"
00055 
00056 /* <xs:schema> qnames */
00057 #define WODEN_Q_ELEM_XSD_1999 "schema|http://www.w3.org/1999/XMLSchema"
00058 #define WODEN_Q_ELEM_XSD_2000 "schema|http://www.w3.org/2000/10/XMLSchema"
00059 #define WODEN_Q_ELEM_XSD_2001 "schema|http://www.w3.org/2001/XMLSchema"
00060 
00061 /* <xs:import> qnames */
00062 #define WODEN_Q_ELEM_IMPORT_XSD_1999 "import|http://www.w3.org/1999/XMLSchema"
00063 #define WODEN_Q_ELEM_IMPORT_XSD_2000 "import|http://www.w3.org/2000/10/XMLSchema"
00064 #define WODEN_Q_ELEM_IMPORT_XSD_2001 "import|http://www.w3.org/2001/XMLSchema"
00065 
00066 /* TODO remove <include> if not used in Woden */
00067 /* <xs:include> qnames */
00068 #define WODEN_Q_ELEM_INCLUDE_XSD_1999 "include|http://www.w3.org/1999/XMLSchema"
00069 #define WODEN_Q_ELEM_INCLUDE_XSD_2000 "include|http://www.w3.org/2000/10/XMLSchema"
00070 #define WODEN_Q_ELEM_INCLUDE_XSD_2001 "include|http://www.w3.org/2001/XMLSchema"
00071 
00072 /* TODO remove <redefine> if not used in Woden */
00073 /* <xs:redefine> qnames */
00074 #define WODEN_Q_ELEM_REDEFINE_XSD_1999 "redefine|http://www.w3.org/1999/XMLSchema"
00075 #define WODEN_Q_ELEM_REDEFINE_XSD_2000 "redefine|http://www.w3.org/2000/10/XMLSchema"
00076 #define WODEN_Q_ELEM_REDEFINE_XSD_2001 "redefine|http://www.w3.org/2001/XMLSchema"
00077 
00078 
00079 /*********************************** Constants*********************************/   
00080    
00081 axis2_bool_t AXIS2_CALL
00082 woden_schema_constants_compare_schema(
00083         axis2_qname_t *schema, 
00084         const axis2_env_t *env);
00085    
00086 axis2_bool_t AXIS2_CALL
00087 woden_schema_constants_compare_include(
00088         axis2_qname_t *include, 
00089         const axis2_env_t *env);
00090    
00091 axis2_bool_t AXIS2_CALL
00092 woden_schema_constants_compare_import(
00093         axis2_qname_t *import, 
00094         const axis2_env_t *env);
00095    
00096 axis2_bool_t AXIS2_CALL
00097 woden_schema_constants_compare_redefine(
00098         axis2_qname_t *redefine, 
00099         const axis2_env_t *env);
00100    
00101 #ifdef __cplusplus
00102 }
00103 #endif
00104 
00105 #endif /* WODEN_SCHEMA_CONSTANTS_H */
00106 
00107 

Generated on Tue Oct 3 18:21:10 2006 for Axis2/C by  doxygen 1.4.7