static_context_consts.h
Go to the documentation of this file.
1 /*
2  * Copyright 2006-2008 The FLWOR Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #ifndef ZORBA_STATIC_CONTEXT_CONSTS_API_H
17 #define ZORBA_STATIC_CONTEXT_CONSTS_API_H
18 
19 namespace zorba
20 {
21 
22 /** \brief XPath 1.0 compatibility mode as defined in
23  * http://www.w3.org/TR/xquery/#static_context
24  */
26 
27 /** \brief Ordering mode as defined in http://www.w3.org/TR/xquery/#static_context.
28  */
29 typedef enum { ordered, unordered } ordering_mode_t;
30 
31 /** \brief Default order for empty sequences as defined in
32  * http://www.w3.org/TR/xquery/#static_context.
33  */
35 
36 /** \brief Inherit part of the Copy-namespace mode as defined in
37  * http://www.w3.org/TR/xquery/#static_context.
38  */
40 
41 /** \brief Preserve part of the Copy-namespace mode as defined in
42  * http://www.w3.org/TR/xquery/#static_context.
43  */
45 
46 /** \brief Boundary-space policy as defined in http://www.w3.org/TR/xquery/#static_context.
47  */
49 
50 /** \brief Construction mode as defined in http://www.w3.org/TR/xquery/#static_context.
51  */
53 
54 /** \brief The XQuery version, taken from the version declaration, an XQuery 3.0 feature.
55  */
57 
58 /** \brief Revalidation mode as defined in
59  * http://www.w3.org/TR/xquery-update-10/#id-revalidation-declaration
60  * Note: when DTD validation is needed the use of validate_lax_dtd is required.
61  */
63 
64 /** \brief Maintenance mode of an index as defined
65  * in the XQuery Data Definition Facility
66  */
68 
69 /** \brief Container kind of an index as defined
70  * in the XQuery Data Definition Facility
71  */
73 
74 }
75 
76 #endif
77 /* vim:set et sw=2 ts=2: */
blog comments powered by Disqus