woden_schema_constants.h

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

Generated on Wed Dec 20 20:14:10 2006 for Axis2/C by  doxygen 1.5.1