2 * Summary: Defines which libxml2 modules are compiled in for XML Engine
3 * Description: Defines which libxml2 modules are compiled in for XML Engine
5 * Copy: See Copyright for the status of this software.
7 * Author: Daniel Veillard
8 * Portion Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
16 #ifndef LIBXML2_MODULES_H
17 #define LIBXML2_MODULES_H
19 // All new configuration directives are in:
20 #include <stdapis/libxml2/xmlengconfig.h>
22 #ifdef XMLENGINE_EXCLUDE_EMBED_MSG
23 extern const char * const __embedded_errtxt_replacement;
24 #define EMBED_ERRTXT(str) NULL
25 //#define EMBED_ERRTXT(str) __embedded_errtxt_replacement
27 #define EMBED_ERRTXT(str) str
31 # define OOM_FLAG (xmlOOM)
33 // DO NOT USE "xmlOOM" outside of Libxml2 code!!!
34 // (xmlOOM is an internal macro for accessing value via TLS)
35 # define OOM_FLAG (xmlOOMFlag())
38 # define SET_OOM_FLAG xmlSetOOM()
39 # define RESET_OOM_FLAG xmlResetOOM()
42 * _xmlDoc struct has field 'cachedGs'
43 * where result of xmlGetGlobalState() is stored
45 * (cachedGs field is not in the part that is common with _xmlNode and _xmlAttr)
47 #define LIBXML_ENABLE_GS_CACHING_IN_DOC
48 #define LIBXML_ENABLE_GS_CACHING_IN_CTXT
52 * _xmlNode.line, _xmlRef.lineno, _xmlID.lineno
53 * and all related functions/code
54 * are excluded from the current configuration if this is commented out:
56 //#define LIBXML_ENABLE_NODE_LINEINFO
59 * LIBXML_CATALOG_ENABLED:
61 * Whether the Catalog support is configured in
63 //#define LIBXML_CATALOG_ENABLED
66 * LIBXML_THREAD_ENABLED:
68 * Whether the thread support is configured in
70 //#define LIBXML_THREAD_ENABLED
73 * LIBXML_TREE_ENABLED:
75 * Whether the DOM like tree manipulation API support is configured in
77 #define LIBXML_TREE_ENABLED
80 * LIBXML_OUTPUT_ENABLED:
82 * Whether the serialization/saving support is configured in
84 #define LIBXML_OUTPUT_ENABLED
87 * LIBXML_PUSH_ENABLED:
89 * Whether the push parsing interfaces are configured in
91 #define LIBXML_PUSH_ENABLED
94 * LIBXML_READER_ENABLED:
96 * Whether the xmlReader parsing interface is configured in
98 #define LIBXML_READER_ENABLED
101 * LIBXML_PATTERN_ENABLED:
103 * Whether the xmlPattern node selection interface is configured in
105 //#define LIBXML_PATTERN_ENABLED
108 * LIBXML_WRITER_ENABLED:
110 * Whether the xmlWriter saving interface is configured in
112 #define LIBXML_WRITER_ENABLED
115 * LIBXML_SAX1_ENABLED:
117 * Whether the older SAX1 interface is configured in
119 #define LIBXML_SAX1_ENABLED
122 * LIBXML_VALID_ENABLED:
124 * Whether the DTD validation support is configured in
126 //#define LIBXML_VALID_ENABLED
129 * LIBXML_HTML_ENABLED:
131 * Whether the HTML support is configured in
133 //#define LIBXML_HTML_ENABLED
136 * LIBXML_LEGACY_ENABLED:
138 * Whether the deprecated APIs are compiled in for compatibility
140 //#define LIBXML_LEGACY_ENABLED
143 * LIBXML_C14N_ENABLED:
145 * Whether the Canonicalization support is configured in
147 #define LIBXML_C14N_ENABLED
150 * LIBXML_XPATH_ENABLED:
152 * Whether XPath is configured in
154 #define LIBXML_XPATH_ENABLED
157 * LIBXML_XPTR_ENABLED:
159 * Whether XPointer is configured in
161 #define LIBXML_XPTR_ENABLED
164 * LIBXML_XINCLUDE_ENABLED:
166 * Whether XInclude is configured in
168 #define LIBXML_XINCLUDE_ENABLED
171 * LIBXML_DEBUG_ENABLED:
173 * Whether Debugging module is configured in
175 //#define LIBXML_DEBUG_ENABLED
178 * DEBUG_MEMORY_LOCATION:
180 * Whether the memory debugging is configured in
182 //#define DEBUG_MEMORY_LOCATION
185 * LIBXML_UNICODE_ENABLED:
187 * Whether the Unicode related interfaces are compiled in
189 //#define LIBXML_UNICODE_ENABLED
192 * LIBXML_REGEXP_ENABLED:
194 * Whether the regular expressions interfaces are compiled in
196 //#define LIBXML_REGEXP_ENABLED
199 * LIBXML_AUTOMATA_ENABLED:
201 * Whether the automata interfaces are compiled in
203 //#define LIBXML_AUTOMATA_ENABLED
206 * LIBXML_SCHEMAS_ENABLED:
208 * Whether the Schemas validation interfaces are compiled in
210 //#define LIBXML_SCHEMAS_ENABLED
212 #endif /* LIBXML2_MODULES_H */