Daniel Veillard | 39a1f9a | 1999-01-17 19:11:59 +0000 | [diff] [blame] | 1 | /* |
| 2 | * valid.h : interface to the DTD handling and the validity checking |
| 3 | * |
| 4 | * See Copyright for the status of this software. |
| 5 | * |
| 6 | * Daniel.Veillard@w3.org |
| 7 | */ |
| 8 | |
| 9 | |
| 10 | #ifndef __XML_VALID_H__ |
| 11 | #define __XML_VALID_H__ |
Daniel Veillard | c26087b | 1999-08-30 11:23:51 +0000 | [diff] [blame] | 12 | |
Daniel Veillard | 361d845 | 2000-04-03 19:48:13 +0000 | [diff] [blame] | 13 | #include <libxml/tree.h> |
Daniel Veillard | 10cb900 | 1999-11-12 17:02:31 +0000 | [diff] [blame] | 14 | |
Daniel Veillard | c26087b | 1999-08-30 11:23:51 +0000 | [diff] [blame] | 15 | #ifdef __cplusplus |
| 16 | extern "C" { |
| 17 | #endif |
| 18 | |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 19 | /** |
| 20 | * an xmlValidCtxt is used for error reporting when validating |
| 21 | */ |
| 22 | |
| 23 | typedef void (*xmlValidityErrorFunc) (void *ctx, const char *msg, ...); |
| 24 | typedef void (*xmlValidityWarningFunc) (void *ctx, const char *msg, ...); |
| 25 | |
Daniel Veillard | 71b656e | 2000-01-05 14:46:17 +0000 | [diff] [blame] | 26 | typedef struct _xmlValidCtxt xmlValidCtxt; |
| 27 | typedef xmlValidCtxt *xmlValidCtxtPtr; |
| 28 | struct _xmlValidCtxt { |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 29 | void *userData; /* user specific data block */ |
| 30 | xmlValidityErrorFunc error; /* the callback in case of errors */ |
| 31 | xmlValidityWarningFunc warning; /* the callback in case of warning */ |
Daniel Veillard | cf46199 | 2000-03-14 18:30:20 +0000 | [diff] [blame] | 32 | |
| 33 | /* Node analysis stack used when validating within entities */ |
| 34 | xmlNodePtr node; /* Current parsed Node */ |
| 35 | int nodeNr; /* Depth of the parsing stack */ |
| 36 | int nodeMax; /* Max depth of the parsing stack */ |
| 37 | xmlNodePtr *nodeTab; /* array of nodes */ |
| 38 | |
| 39 | int finishDtd; /* finished validating the Dtd ? */ |
Daniel Veillard | 71b656e | 2000-01-05 14:46:17 +0000 | [diff] [blame] | 40 | }; |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 41 | |
Daniel Veillard | 3b9def1 | 1999-01-31 22:15:06 +0000 | [diff] [blame] | 42 | /* |
Daniel Veillard | 1e346af | 1999-02-22 10:33:01 +0000 | [diff] [blame] | 43 | * ALl notation declarations are stored in a table |
| 44 | * there is one table per DTD |
| 45 | */ |
| 46 | |
| 47 | #define XML_MIN_NOTATION_TABLE 32 |
| 48 | |
Daniel Veillard | 71b656e | 2000-01-05 14:46:17 +0000 | [diff] [blame] | 49 | typedef struct _xmlNotationTable xmlNotationTable; |
| 50 | typedef xmlNotationTable *xmlNotationTablePtr; |
| 51 | struct _xmlNotationTable { |
Daniel Veillard | 1e346af | 1999-02-22 10:33:01 +0000 | [diff] [blame] | 52 | int nb_notations; /* number of notations stored */ |
| 53 | int max_notations; /* maximum number of notations */ |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 54 | xmlNotationPtr *table; /* the table of attributes */ |
Daniel Veillard | 71b656e | 2000-01-05 14:46:17 +0000 | [diff] [blame] | 55 | }; |
Daniel Veillard | 1e346af | 1999-02-22 10:33:01 +0000 | [diff] [blame] | 56 | |
| 57 | /* |
Daniel Veillard | 3b9def1 | 1999-01-31 22:15:06 +0000 | [diff] [blame] | 58 | * ALl element declarations are stored in a table |
| 59 | * there is one table per DTD |
| 60 | */ |
| 61 | |
| 62 | #define XML_MIN_ELEMENT_TABLE 32 |
| 63 | |
Daniel Veillard | 71b656e | 2000-01-05 14:46:17 +0000 | [diff] [blame] | 64 | typedef struct _xmlElementTable xmlElementTable; |
| 65 | typedef xmlElementTable *xmlElementTablePtr; |
| 66 | struct _xmlElementTable { |
Daniel Veillard | 3b9def1 | 1999-01-31 22:15:06 +0000 | [diff] [blame] | 67 | int nb_elements; /* number of elements stored */ |
| 68 | int max_elements; /* maximum number of elements */ |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 69 | xmlElementPtr *table; /* the table of elements */ |
Daniel Veillard | f0cc7cc | 2000-08-26 21:40:43 +0000 | [diff] [blame] | 70 | int last; /* last element accessed */ |
Daniel Veillard | 71b656e | 2000-01-05 14:46:17 +0000 | [diff] [blame] | 71 | }; |
Daniel Veillard | 3b9def1 | 1999-01-31 22:15:06 +0000 | [diff] [blame] | 72 | |
Daniel Veillard | 1e346af | 1999-02-22 10:33:01 +0000 | [diff] [blame] | 73 | /* |
| 74 | * ALl attribute declarations are stored in a table |
| 75 | * there is one table per DTD |
| 76 | */ |
| 77 | |
| 78 | #define XML_MIN_ATTRIBUTE_TABLE 32 |
| 79 | |
Daniel Veillard | 71b656e | 2000-01-05 14:46:17 +0000 | [diff] [blame] | 80 | typedef struct _xmlAttributeTable xmlAttributeTable; |
| 81 | typedef xmlAttributeTable *xmlAttributeTablePtr; |
| 82 | struct _xmlAttributeTable { |
Daniel Veillard | 1e346af | 1999-02-22 10:33:01 +0000 | [diff] [blame] | 83 | int nb_attributes; /* number of attributes stored */ |
| 84 | int max_attributes; /* maximum number of attributes */ |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 85 | xmlAttributePtr *table; /* the table of attributes */ |
Daniel Veillard | 71b656e | 2000-01-05 14:46:17 +0000 | [diff] [blame] | 86 | }; |
Daniel Veillard | 1e346af | 1999-02-22 10:33:01 +0000 | [diff] [blame] | 87 | |
Daniel Veillard | 991e63d | 1999-08-15 23:32:28 +0000 | [diff] [blame] | 88 | /* |
| 89 | * ALl IDs attributes are stored in a table |
| 90 | * there is one table per document |
| 91 | */ |
| 92 | |
| 93 | #define XML_MIN_ID_TABLE 32 |
| 94 | |
Daniel Veillard | 71b656e | 2000-01-05 14:46:17 +0000 | [diff] [blame] | 95 | typedef struct _xmlIDTable xmlIDTable; |
| 96 | typedef xmlIDTable *xmlIDTablePtr; |
| 97 | struct _xmlIDTable { |
Daniel Veillard | 991e63d | 1999-08-15 23:32:28 +0000 | [diff] [blame] | 98 | int nb_ids; /* number of ids stored */ |
| 99 | int max_ids; /* maximum number of ids */ |
| 100 | xmlIDPtr *table; /* the table of ids */ |
Daniel Veillard | 71b656e | 2000-01-05 14:46:17 +0000 | [diff] [blame] | 101 | }; |
Daniel Veillard | 991e63d | 1999-08-15 23:32:28 +0000 | [diff] [blame] | 102 | |
Daniel Veillard | c08a2c6 | 1999-09-08 21:35:25 +0000 | [diff] [blame] | 103 | /* |
| 104 | * ALl Refs attributes are stored in a table |
| 105 | * there is one table per document |
| 106 | */ |
| 107 | |
| 108 | #define XML_MIN_REF_TABLE 32 |
| 109 | |
Daniel Veillard | 71b656e | 2000-01-05 14:46:17 +0000 | [diff] [blame] | 110 | typedef struct _xmlRefTable xmlRefTable; |
| 111 | typedef xmlRefTable *xmlRefTablePtr; |
| 112 | struct _xmlRefTable { |
Daniel Veillard | c08a2c6 | 1999-09-08 21:35:25 +0000 | [diff] [blame] | 113 | int nb_refs; /* number of refs stored */ |
| 114 | int max_refs; /* maximum number of refs */ |
| 115 | xmlRefPtr *table; /* the table of refs */ |
Daniel Veillard | 71b656e | 2000-01-05 14:46:17 +0000 | [diff] [blame] | 116 | }; |
Daniel Veillard | c08a2c6 | 1999-09-08 21:35:25 +0000 | [diff] [blame] | 117 | |
Daniel Veillard | 1e346af | 1999-02-22 10:33:01 +0000 | [diff] [blame] | 118 | /* Notation */ |
Daniel Veillard | b96e643 | 1999-08-29 21:02:19 +0000 | [diff] [blame] | 119 | xmlNotationPtr xmlAddNotationDecl (xmlValidCtxtPtr ctxt, |
| 120 | xmlDtdPtr dtd, |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 121 | const xmlChar *name, |
| 122 | const xmlChar *PublicID, |
| 123 | const xmlChar *SystemID); |
Daniel Veillard | 1e346af | 1999-02-22 10:33:01 +0000 | [diff] [blame] | 124 | xmlNotationTablePtr xmlCopyNotationTable(xmlNotationTablePtr table); |
Daniel Veillard | b96e643 | 1999-08-29 21:02:19 +0000 | [diff] [blame] | 125 | void xmlFreeNotationTable(xmlNotationTablePtr table); |
Daniel Veillard | cf46199 | 2000-03-14 18:30:20 +0000 | [diff] [blame] | 126 | void xmlDumpNotationDecl (xmlBufferPtr buf, |
| 127 | xmlNotationPtr nota); |
Daniel Veillard | b96e643 | 1999-08-29 21:02:19 +0000 | [diff] [blame] | 128 | void xmlDumpNotationTable(xmlBufferPtr buf, |
| 129 | xmlNotationTablePtr table); |
Daniel Veillard | 1e346af | 1999-02-22 10:33:01 +0000 | [diff] [blame] | 130 | |
| 131 | /* Element Content */ |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 132 | xmlElementContentPtr xmlNewElementContent (xmlChar *name, |
Daniel Veillard | c26087b | 1999-08-30 11:23:51 +0000 | [diff] [blame] | 133 | xmlElementContentType type); |
Daniel Veillard | 1e346af | 1999-02-22 10:33:01 +0000 | [diff] [blame] | 134 | xmlElementContentPtr xmlCopyElementContent(xmlElementContentPtr content); |
Daniel Veillard | b96e643 | 1999-08-29 21:02:19 +0000 | [diff] [blame] | 135 | void xmlFreeElementContent(xmlElementContentPtr cur); |
Daniel Veillard | cf46199 | 2000-03-14 18:30:20 +0000 | [diff] [blame] | 136 | void xmlSprintfElementContent(char *buf, |
| 137 | xmlElementContentPtr content, |
| 138 | int glob); |
Daniel Veillard | 1e346af | 1999-02-22 10:33:01 +0000 | [diff] [blame] | 139 | |
| 140 | /* Element */ |
Daniel Veillard | b96e643 | 1999-08-29 21:02:19 +0000 | [diff] [blame] | 141 | xmlElementPtr xmlAddElementDecl (xmlValidCtxtPtr ctxt, |
| 142 | xmlDtdPtr dtd, |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 143 | const xmlChar *name, |
Daniel Veillard | 51e3b15 | 1999-11-12 17:02:31 +0000 | [diff] [blame] | 144 | xmlElementTypeVal type, |
Daniel Veillard | b96e643 | 1999-08-29 21:02:19 +0000 | [diff] [blame] | 145 | xmlElementContentPtr content); |
| 146 | xmlElementTablePtr xmlCopyElementTable (xmlElementTablePtr table); |
| 147 | void xmlFreeElementTable (xmlElementTablePtr table); |
| 148 | void xmlDumpElementTable (xmlBufferPtr buf, |
| 149 | xmlElementTablePtr table); |
Daniel Veillard | cf46199 | 2000-03-14 18:30:20 +0000 | [diff] [blame] | 150 | void xmlDumpElementDecl (xmlBufferPtr buf, |
| 151 | xmlElementPtr elem); |
Daniel Veillard | 3b9def1 | 1999-01-31 22:15:06 +0000 | [diff] [blame] | 152 | |
Daniel Veillard | 1e346af | 1999-02-22 10:33:01 +0000 | [diff] [blame] | 153 | /* Enumeration */ |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 154 | xmlEnumerationPtr xmlCreateEnumeration (xmlChar *name); |
Daniel Veillard | b96e643 | 1999-08-29 21:02:19 +0000 | [diff] [blame] | 155 | void xmlFreeEnumeration (xmlEnumerationPtr cur); |
| 156 | xmlEnumerationPtr xmlCopyEnumeration (xmlEnumerationPtr cur); |
Daniel Veillard | 1e346af | 1999-02-22 10:33:01 +0000 | [diff] [blame] | 157 | |
| 158 | /* Attribute */ |
Daniel Veillard | b96e643 | 1999-08-29 21:02:19 +0000 | [diff] [blame] | 159 | xmlAttributePtr xmlAddAttributeDecl (xmlValidCtxtPtr ctxt, |
| 160 | xmlDtdPtr dtd, |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 161 | const xmlChar *elem, |
| 162 | const xmlChar *name, |
Daniel Veillard | 0604743 | 2000-04-24 11:33:38 +0000 | [diff] [blame] | 163 | const xmlChar *ns, |
Daniel Veillard | c26087b | 1999-08-30 11:23:51 +0000 | [diff] [blame] | 164 | xmlAttributeType type, |
| 165 | xmlAttributeDefault def, |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 166 | const xmlChar *defaultValue, |
Daniel Veillard | b96e643 | 1999-08-29 21:02:19 +0000 | [diff] [blame] | 167 | xmlEnumerationPtr tree); |
| 168 | xmlAttributeTablePtr xmlCopyAttributeTable (xmlAttributeTablePtr table); |
| 169 | void xmlFreeAttributeTable (xmlAttributeTablePtr table); |
| 170 | void xmlDumpAttributeTable (xmlBufferPtr buf, |
| 171 | xmlAttributeTablePtr table); |
Daniel Veillard | cf46199 | 2000-03-14 18:30:20 +0000 | [diff] [blame] | 172 | void xmlDumpAttributeDecl (xmlBufferPtr buf, |
| 173 | xmlAttributePtr attr); |
Daniel Veillard | 1e346af | 1999-02-22 10:33:01 +0000 | [diff] [blame] | 174 | |
Daniel Veillard | 991e63d | 1999-08-15 23:32:28 +0000 | [diff] [blame] | 175 | /* IDs */ |
Daniel Veillard | b96e643 | 1999-08-29 21:02:19 +0000 | [diff] [blame] | 176 | xmlIDPtr xmlAddID (xmlValidCtxtPtr ctxt, |
| 177 | xmlDocPtr doc, |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 178 | const xmlChar *value, |
Daniel Veillard | b96e643 | 1999-08-29 21:02:19 +0000 | [diff] [blame] | 179 | xmlAttrPtr attr); |
| 180 | xmlIDTablePtr xmlCopyIDTable (xmlIDTablePtr table); |
| 181 | void xmlFreeIDTable (xmlIDTablePtr table); |
| 182 | xmlAttrPtr xmlGetID (xmlDocPtr doc, |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 183 | const xmlChar *ID); |
Daniel Veillard | b96e643 | 1999-08-29 21:02:19 +0000 | [diff] [blame] | 184 | int xmlIsID (xmlDocPtr doc, |
| 185 | xmlNodePtr elem, |
| 186 | xmlAttrPtr attr); |
Daniel Veillard | 71b656e | 2000-01-05 14:46:17 +0000 | [diff] [blame] | 187 | int xmlRemoveID (xmlDocPtr doc, xmlAttrPtr attr); |
Daniel Veillard | 991e63d | 1999-08-15 23:32:28 +0000 | [diff] [blame] | 188 | |
Daniel Veillard | c08a2c6 | 1999-09-08 21:35:25 +0000 | [diff] [blame] | 189 | /* IDREFs */ |
| 190 | xmlRefPtr xmlAddRef (xmlValidCtxtPtr ctxt, |
| 191 | xmlDocPtr doc, |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 192 | const xmlChar *value, |
Daniel Veillard | c08a2c6 | 1999-09-08 21:35:25 +0000 | [diff] [blame] | 193 | xmlAttrPtr attr); |
| 194 | xmlRefTablePtr xmlCopyRefTable (xmlRefTablePtr table); |
| 195 | void xmlFreeRefTable (xmlRefTablePtr table); |
| 196 | int xmlIsRef (xmlDocPtr doc, |
| 197 | xmlNodePtr elem, |
| 198 | xmlAttrPtr attr); |
Daniel Veillard | 71b656e | 2000-01-05 14:46:17 +0000 | [diff] [blame] | 199 | int xmlRemoveRef (xmlDocPtr doc, xmlAttrPtr attr); |
Daniel Veillard | c08a2c6 | 1999-09-08 21:35:25 +0000 | [diff] [blame] | 200 | |
Daniel Veillard | b05deb7 | 1999-08-10 19:04:08 +0000 | [diff] [blame] | 201 | /** |
| 202 | * The public function calls related to validity checking |
| 203 | */ |
| 204 | |
Daniel Veillard | b96e643 | 1999-08-29 21:02:19 +0000 | [diff] [blame] | 205 | int xmlValidateRoot (xmlValidCtxtPtr ctxt, |
| 206 | xmlDocPtr doc); |
| 207 | int xmlValidateElementDecl (xmlValidCtxtPtr ctxt, |
| 208 | xmlDocPtr doc, |
| 209 | xmlElementPtr elem); |
Daniel Veillard | cf46199 | 2000-03-14 18:30:20 +0000 | [diff] [blame] | 210 | xmlChar * xmlValidNormalizeAttributeValue(xmlDocPtr doc, |
| 211 | xmlNodePtr elem, |
| 212 | const xmlChar *name, |
| 213 | const xmlChar *value); |
Daniel Veillard | b96e643 | 1999-08-29 21:02:19 +0000 | [diff] [blame] | 214 | int xmlValidateAttributeDecl(xmlValidCtxtPtr ctxt, |
| 215 | xmlDocPtr doc, |
| 216 | xmlAttributePtr attr); |
| 217 | int xmlValidateAttributeValue(xmlAttributeType type, |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 218 | const xmlChar *value); |
Daniel Veillard | b96e643 | 1999-08-29 21:02:19 +0000 | [diff] [blame] | 219 | int xmlValidateNotationDecl (xmlValidCtxtPtr ctxt, |
| 220 | xmlDocPtr doc, |
| 221 | xmlNotationPtr nota); |
| 222 | int xmlValidateDtd (xmlValidCtxtPtr ctxt, |
| 223 | xmlDocPtr doc, |
| 224 | xmlDtdPtr dtd); |
Daniel Veillard | cf46199 | 2000-03-14 18:30:20 +0000 | [diff] [blame] | 225 | int xmlValidateDtdFinal (xmlValidCtxtPtr ctxt, |
| 226 | xmlDocPtr doc); |
Daniel Veillard | b96e643 | 1999-08-29 21:02:19 +0000 | [diff] [blame] | 227 | int xmlValidateDocument (xmlValidCtxtPtr ctxt, |
| 228 | xmlDocPtr doc); |
| 229 | int xmlValidateElement (xmlValidCtxtPtr ctxt, |
| 230 | xmlDocPtr doc, |
| 231 | xmlNodePtr elem); |
| 232 | int xmlValidateOneElement (xmlValidCtxtPtr ctxt, |
| 233 | xmlDocPtr doc, |
| 234 | xmlNodePtr elem); |
| 235 | int xmlValidateOneAttribute (xmlValidCtxtPtr ctxt, |
| 236 | xmlDocPtr doc, |
| 237 | xmlNodePtr elem, |
| 238 | xmlAttrPtr attr, |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 239 | const xmlChar *value); |
Daniel Veillard | c08a2c6 | 1999-09-08 21:35:25 +0000 | [diff] [blame] | 240 | int xmlValidateDocumentFinal(xmlValidCtxtPtr ctxt, |
| 241 | xmlDocPtr doc); |
Daniel Veillard | b96e643 | 1999-08-29 21:02:19 +0000 | [diff] [blame] | 242 | int xmlValidateNotationUse (xmlValidCtxtPtr ctxt, |
| 243 | xmlDocPtr doc, |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 244 | const xmlChar *notationName); |
Daniel Veillard | b96e643 | 1999-08-29 21:02:19 +0000 | [diff] [blame] | 245 | int xmlIsMixedElement (xmlDocPtr doc, |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 246 | const xmlChar *name); |
Daniel Veillard | b96e643 | 1999-08-29 21:02:19 +0000 | [diff] [blame] | 247 | xmlAttributePtr xmlGetDtdAttrDesc (xmlDtdPtr dtd, |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 248 | const xmlChar *elem, |
| 249 | const xmlChar *name); |
Daniel Veillard | b96e643 | 1999-08-29 21:02:19 +0000 | [diff] [blame] | 250 | xmlNotationPtr xmlGetDtdNotationDesc (xmlDtdPtr dtd, |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 251 | const xmlChar *name); |
Daniel Veillard | b96e643 | 1999-08-29 21:02:19 +0000 | [diff] [blame] | 252 | xmlElementPtr xmlGetDtdElementDesc (xmlDtdPtr dtd, |
Daniel Veillard | dd6b367 | 1999-09-23 22:19:22 +0000 | [diff] [blame] | 253 | const xmlChar *name); |
Daniel Veillard | c26087b | 1999-08-30 11:23:51 +0000 | [diff] [blame] | 254 | |
Daniel Veillard | 7c1206f | 1999-10-14 09:10:25 +0000 | [diff] [blame] | 255 | int xmlValidGetValidElements(xmlNode *prev, |
| 256 | xmlNode *next, |
| 257 | const xmlChar **list, |
| 258 | int max); |
| 259 | int xmlValidGetPotentialChildren(xmlElementContent *ctree, |
| 260 | const xmlChar **list, |
| 261 | int *len, |
| 262 | int max); |
Daniel Veillard | c26087b | 1999-08-30 11:23:51 +0000 | [diff] [blame] | 263 | #ifdef __cplusplus |
| 264 | } |
| 265 | #endif |
Daniel Veillard | 39a1f9a | 1999-01-17 19:11:59 +0000 | [diff] [blame] | 266 | #endif /* __XML_VALID_H__ */ |