ReactOS 0.4.15-dev-8245-gd24675b
parser.h
Go to the documentation of this file.
1/*
2 * Summary: the core parser module
3 * Description: Interfaces, constants and types related to the XML parser
4 *
5 * Copy: See Copyright for the status of this software.
6 *
7 * Author: Daniel Veillard
8 */
9
10#ifndef __XML_PARSER_H__
11#define __XML_PARSER_H__
12
13#include <libxml/xmlversion.h>
14#include <libxml/tree.h>
15#include <libxml/dict.h>
16#include <libxml/hash.h>
17#include <libxml/valid.h>
18#include <libxml/entities.h>
19#include <libxml/xmlerror.h>
20#include <libxml/xmlstring.h>
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
31#define XML_DEFAULT_VERSION "1.0"
32
51
53 /* Input buffer */
54 xmlParserInputBufferPtr buf; /* UTF-8 encoded buffer */
55
56 const char *filename; /* The file analyzed, if any */
57 const char *directory; /* the directory/base of the file */
58 const xmlChar *base; /* Base of the array to parse */
59 const xmlChar *cur; /* Current char being parsed */
60 const xmlChar *end; /* end of the array to parse */
61 int length; /* length if known */
62 int line; /* Current line */
63 int col; /* Current column */
64 /*
65 * NOTE: consumed is only tested for equality in the parser code,
66 * so even if there is an overflow this should not give troubles
67 * for parsing very large instances.
68 */
69 unsigned long consumed; /* How many xmlChars already consumed */
70 xmlParserInputDeallocate free; /* function to deallocate the base */
71 const xmlChar *encoding; /* the encoding string for entity */
72 const xmlChar *version; /* the version string for entity */
73 int standalone; /* Was that entity marked standalone */
74 int id; /* an unique identifier for the entity */
75};
76
86
88 const struct _xmlNode* node;
89 /* Position & line # that text that created the node begins & ends on */
90 unsigned long begin_pos;
91 unsigned long begin_line;
92 unsigned long end_pos;
93 unsigned long end_line;
94};
95
99 unsigned long maximum;
100 unsigned long length;
102};
103
110typedef enum {
111 XML_PARSER_EOF = -1, /* nothing is to be parsed */
112 XML_PARSER_START = 0, /* nothing has been parsed */
113 XML_PARSER_MISC, /* Misc* before int subset */
114 XML_PARSER_PI, /* Within a processing instruction */
115 XML_PARSER_DTD, /* within some DTD content */
116 XML_PARSER_PROLOG, /* Misc* after internal subset */
117 XML_PARSER_COMMENT, /* within a comment */
118 XML_PARSER_START_TAG, /* within a start tag */
119 XML_PARSER_CONTENT, /* within the content */
120 XML_PARSER_CDATA_SECTION, /* within a CDATA section */
121 XML_PARSER_END_TAG, /* within a closing tag */
122 XML_PARSER_ENTITY_DECL, /* within an entity declaration */
123 XML_PARSER_ENTITY_VALUE, /* within an entity value in a decl */
124 XML_PARSER_ATTRIBUTE_VALUE, /* within an attribute value */
125 XML_PARSER_SYSTEM_LITERAL, /* within a SYSTEM value */
126 XML_PARSER_EPILOG, /* the Misc* after the last end tag */
127 XML_PARSER_IGNORE, /* within an IGNORED section */
128 XML_PARSER_PUBLIC_LITERAL /* within a PUBLIC value */
130
137#define XML_DETECT_IDS 2
138
146#define XML_COMPLETE_ATTRS 4
147
154#define XML_SKIP_IDS 8
155
161typedef enum {
169
171
185 struct _xmlSAXHandler *sax; /* The SAX handler */
186 void *userData; /* For SAX interface only, used by DOM build */
187 xmlDocPtr myDoc; /* the document being built */
188 int wellFormed; /* is the document well formed */
189 int replaceEntities; /* shall we replace entities ? */
190 const xmlChar *version; /* the XML version string */
191 const xmlChar *encoding; /* the declared encoding, if any */
192 int standalone; /* standalone document */
193 int html; /* an HTML(1) document
194 * 3 is HTML after <head>
195 * 10 is HTML after <body>
196 */
197
198 /* Input stream stack */
199 xmlParserInputPtr input; /* Current input stream */
200 int inputNr; /* Number of current input streams */
201 int inputMax; /* Max number of input streams */
202 xmlParserInputPtr *inputTab; /* stack of inputs */
203
204 /* Node analysis stack only used for DOM building */
205 xmlNodePtr node; /* Current parsed Node */
206 int nodeNr; /* Depth of the parsing stack */
207 int nodeMax; /* Max depth of the parsing stack */
208 xmlNodePtr *nodeTab; /* array of nodes */
209
210 int record_info; /* Whether node info should be kept */
211 xmlParserNodeInfoSeq node_seq; /* info about each node parsed */
212
213 int errNo; /* error code */
214
215 int hasExternalSubset; /* reference and external subset */
216 int hasPErefs; /* the internal subset has PE refs */
217 int external; /* are we parsing an external entity */
218
219 int valid; /* is the document valid */
220 int validate; /* shall we try to validate ? */
221 xmlValidCtxt vctxt; /* The validity context */
222
223 xmlParserInputState instate; /* current type of input */
224 int token; /* next char look-ahead */
225
226 char *directory; /* the data directory */
227
228 /* Node name stack */
229 const xmlChar *name; /* Current parsed Node */
230 int nameNr; /* Depth of the parsing stack */
231 int nameMax; /* Max depth of the parsing stack */
232 const xmlChar * *nameTab; /* array of nodes */
233
234 long nbChars; /* unused */
235 long checkIndex; /* used by progressive parsing lookup */
236 int keepBlanks; /* ugly but ... */
237 int disableSAX; /* SAX callbacks are disabled */
238 int inSubset; /* Parsing is in int 1/ext 2 subset */
239 const xmlChar * intSubName; /* name of subset */
240 xmlChar * extSubURI; /* URI of external subset */
241 xmlChar * extSubSystem; /* SYSTEM ID of external subset */
242
243 /* xml:space values */
244 int * space; /* Should the parser preserve spaces */
245 int spaceNr; /* Depth of the parsing stack */
246 int spaceMax; /* Max depth of the parsing stack */
247 int * spaceTab; /* array of space infos */
248
249 int depth; /* to prevent entity substitution loops */
250 xmlParserInputPtr entity; /* used to check entities boundaries */
251 int charset; /* encoding of the in-memory content
252 actually an xmlCharEncoding */
253 int nodelen; /* Those two fields are there to */
254 int nodemem; /* Speed up large node parsing */
255 int pedantic; /* signal pedantic warnings */
256 void *_private; /* For user data, libxml won't touch it */
257
258 int loadsubset; /* should the external subset be loaded */
259 int linenumbers; /* set line number in element content */
260 void *catalogs; /* document's own catalog */
261 int recovery; /* run in recovery mode */
262 int progressive; /* is this a progressive parsing */
263 xmlDictPtr dict; /* dictionary for the parser */
264 const xmlChar * *atts; /* array for the attributes callbacks */
265 int maxatts; /* the size of the array */
266 int docdict; /* use strings from dict to build tree */
267
268 /*
269 * pre-interned strings
270 */
274
275 /*
276 * Everything below is used only by the new SAX mode
277 */
278 int sax2; /* operating in the new SAX mode */
279 int nsNr; /* the number of inherited namespaces */
280 int nsMax; /* the size of the arrays */
281 const xmlChar * *nsTab; /* the array of prefix/namespace name */
282 int *attallocs; /* which attribute were allocated */
283 xmlStartTag *pushTab; /* array of data for push */
284 xmlHashTablePtr attsDefault; /* defaulted attributes if any */
285 xmlHashTablePtr attsSpecial; /* non-CDATA attributes if any */
286 int nsWellFormed; /* is the document XML Namespace okay */
287 int options; /* Extra options */
288
289 /*
290 * Those fields are needed only for streaming parsing so far
291 */
292 int dictNames; /* Use dictionary names for the tree */
293 int freeElemsNr; /* number of freed element nodes */
294 xmlNodePtr freeElems; /* List of freed element nodes */
295 int freeAttrsNr; /* number of freed attributes nodes */
296 xmlAttrPtr freeAttrs; /* List of freed attributes nodes */
297
298 /*
299 * the complete error information for the last error.
300 */
302 xmlParserMode parseMode; /* the parser mode */
303 unsigned long nbentities; /* number of entities references */
304 unsigned long sizeentities; /* size of parsed entities */
305
306 /* for use by HTML non-recursive parser */
307 xmlParserNodeInfo *nodeInfo; /* Current NodeInfo */
308 int nodeInfoNr; /* Depth of the parsing stack */
309 int nodeInfoMax; /* Max depth of the parsing stack */
310 xmlParserNodeInfo *nodeInfoTab; /* array of nodeInfos */
311
312 int input_id; /* we need to label inputs */
313 unsigned long sizeentcopy; /* volume of entity copy */
314};
315
322 const xmlChar *(*getPublicId)(void *ctx);
323 const xmlChar *(*getSystemId)(void *ctx);
326};
327
351 const xmlChar *publicId,
352 const xmlChar *systemId);
363 const xmlChar *name,
364 const xmlChar *ExternalID,
365 const xmlChar *SystemID);
376 const xmlChar *name,
377 const xmlChar *ExternalID,
378 const xmlChar *SystemID);
389 const xmlChar *name);
400 const xmlChar *name);
412typedef void (*entityDeclSAXFunc) (void *ctx,
413 const xmlChar *name,
414 int type,
415 const xmlChar *publicId,
416 const xmlChar *systemId,
427typedef void (*notationDeclSAXFunc)(void *ctx,
428 const xmlChar *name,
429 const xmlChar *publicId,
430 const xmlChar *systemId);
444 const xmlChar *elem,
445 const xmlChar *fullname,
446 int type,
447 int def,
448 const xmlChar *defaultValue,
459typedef void (*elementDeclSAXFunc)(void *ctx,
460 const xmlChar *name,
461 int type,
474 const xmlChar *name,
475 const xmlChar *publicId,
476 const xmlChar *systemId,
477 const xmlChar *notationName);
487 xmlSAXLocatorPtr loc);
494typedef void (*startDocumentSAXFunc) (void *ctx);
501typedef void (*endDocumentSAXFunc) (void *ctx);
510typedef void (*startElementSAXFunc) (void *ctx,
511 const xmlChar *name,
512 const xmlChar **atts);
520typedef void (*endElementSAXFunc) (void *ctx,
521 const xmlChar *name);
533typedef void (*attributeSAXFunc) (void *ctx,
534 const xmlChar *name,
535 const xmlChar *value);
543typedef void (*referenceSAXFunc) (void *ctx,
544 const xmlChar *name);
553typedef void (*charactersSAXFunc) (void *ctx,
554 const xmlChar *ch,
555 int len);
566 const xmlChar *ch,
567 int len);
577 const xmlChar *target,
578 const xmlChar *data);
586typedef void (*commentSAXFunc) (void *ctx,
587 const xmlChar *value);
597 void *ctx,
598 const xmlChar *value,
599 int len);
608typedef void (XMLCDECL *warningSAXFunc) (void *ctx,
609 const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);
618typedef void (XMLCDECL *errorSAXFunc) (void *ctx,
619 const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);
631 const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);
640typedef int (*isStandaloneSAXFunc) (void *ctx);
650
660
661/************************************************************************
662 * *
663 * The SAX version 2 API extensions *
664 * *
665 ************************************************************************/
671#define XML_SAX2_MAGIC 0xDEEDBEAF
672
693 const xmlChar *localname,
694 const xmlChar *prefix,
695 const xmlChar *URI,
696 int nb_namespaces,
697 const xmlChar **namespaces,
698 int nb_attributes,
699 int nb_defaulted,
700 const xmlChar **attributes);
701
713typedef void (*endElementNsSAX2Func) (void *ctx,
714 const xmlChar *localname,
715 const xmlChar *prefix,
716 const xmlChar *URI);
717
718
743 fatalErrorSAXFunc fatalError; /* unused error() get all the errors */
747 unsigned int initialized;
748 /* The following fields are extensions available only on version 2 */
749 void *_private;
753};
754
755/*
756 * SAX Version 1
757 */
784 fatalErrorSAXFunc fatalError; /* unused error() get all the errors */
788 unsigned int initialized;
789};
790
791
802typedef xmlParserInputPtr (*xmlExternalEntityLoader) (const char *URL,
803 const char *ID,
805
806#ifdef __cplusplus
807}
808#endif
809
810#include <libxml/encoding.h>
811#include <libxml/xmlIO.h>
812#include <libxml/globals.h>
813
814#ifdef __cplusplus
815extern "C" {
816#endif
817
818
819/*
820 * Init/Cleanup
821 */
823 xmlInitParser (void);
825 xmlCleanupParser (void);
826
827/*
828 * Input functions
829 */
832 int len);
835 int len);
836
837/*
838 * Basic parsing Interfaces
839 */
840#ifdef LIBXML_SAX1_ENABLED
842 xmlParseDoc (const xmlChar *cur);
844 xmlParseFile (const char *filename);
846 xmlParseMemory (const char *buffer,
847 int size);
848#endif /* LIBXML_SAX1_ENABLED */
859
860#ifdef LIBXML_SAX1_ENABLED
861/*
862 * Recovery mode
863 */
865 xmlRecoverDoc (const xmlChar *cur);
867 xmlRecoverMemory (const char *buffer,
868 int size);
870 xmlRecoverFile (const char *filename);
871#endif /* LIBXML_SAX1_ENABLED */
872
873/*
874 * Less common routines and SAX interfaces
875 */
880#ifdef LIBXML_SAX1_ENABLED
882 xmlSAXUserParseFile (xmlSAXHandlerPtr sax,
883 void *user_data,
884 const char *filename);
886 xmlSAXUserParseMemory (xmlSAXHandlerPtr sax,
887 void *user_data,
888 const char *buffer,
889 int size);
891 xmlSAXParseDoc (xmlSAXHandlerPtr sax,
892 const xmlChar *cur,
893 int recovery);
895 xmlSAXParseMemory (xmlSAXHandlerPtr sax,
896 const char *buffer,
897 int size,
898 int recovery);
900 xmlSAXParseMemoryWithData (xmlSAXHandlerPtr sax,
901 const char *buffer,
902 int size,
903 int recovery,
904 void *data);
906 xmlSAXParseFile (xmlSAXHandlerPtr sax,
907 const char *filename,
908 int recovery);
910 xmlSAXParseFileWithData (xmlSAXHandlerPtr sax,
911 const char *filename,
912 int recovery,
913 void *data);
915 xmlSAXParseEntity (xmlSAXHandlerPtr sax,
916 const char *filename);
918 xmlParseEntity (const char *filename);
919#endif /* LIBXML_SAX1_ENABLED */
920
921#ifdef LIBXML_VALID_ENABLED
923 xmlSAXParseDTD (xmlSAXHandlerPtr sax,
924 const xmlChar *ExternalID,
925 const xmlChar *SystemID);
927 xmlParseDTD (const xmlChar *ExternalID,
928 const xmlChar *SystemID);
930 xmlIOParseDTD (xmlSAXHandlerPtr sax,
932 xmlCharEncoding enc);
933#endif /* LIBXML_VALID_ENABLE */
934#ifdef LIBXML_SAX1_ENABLED
936 xmlParseBalancedChunkMemory(xmlDocPtr doc,
938 void *user_data,
939 int depth,
940 const xmlChar *string,
941 xmlNodePtr *lst);
942#endif /* LIBXML_SAX1_ENABLED */
945 const char *data,
946 int datalen,
947 int options,
948 xmlNodePtr *lst);
949#ifdef LIBXML_SAX1_ENABLED
951 xmlParseBalancedChunkMemoryRecover(xmlDocPtr doc,
953 void *user_data,
954 int depth,
955 const xmlChar *string,
956 xmlNodePtr *lst,
957 int recover);
959 xmlParseExternalEntity (xmlDocPtr doc,
961 void *user_data,
962 int depth,
963 const xmlChar *URL,
964 const xmlChar *ID,
965 xmlNodePtr *lst);
966#endif /* LIBXML_SAX1_ENABLED */
969 const xmlChar *URL,
970 const xmlChar *ID,
971 xmlNodePtr *lst);
972
973/*
974 * Parser contexts handling.
975 */
977 xmlNewParserCtxt (void);
984#ifdef LIBXML_SAX1_ENABLED
986 xmlSetupParserForBuffer (xmlParserCtxtPtr ctxt,
987 const xmlChar* buffer,
988 const char *filename);
989#endif /* LIBXML_SAX1_ENABLED */
992
993#ifdef LIBXML_LEGACY_ENABLED
994/*
995 * Reading/setting optional parsing features.
996 */
999 xmlGetFeaturesList (int *len,
1000 const char **result);
1003 xmlGetFeature (xmlParserCtxtPtr ctxt,
1004 const char *name,
1005 void *result);
1008 xmlSetFeature (xmlParserCtxtPtr ctxt,
1009 const char *name,
1010 void *value);
1011#endif /* LIBXML_LEGACY_ENABLED */
1012
1013#ifdef LIBXML_PUSH_ENABLED
1014/*
1015 * Interfaces for the Push mode.
1016 */
1018 xmlCreatePushParserCtxt(xmlSAXHandlerPtr sax,
1019 void *user_data,
1020 const char *chunk,
1021 int size,
1022 const char *filename);
1024 xmlParseChunk (xmlParserCtxtPtr ctxt,
1025 const char *chunk,
1026 int size,
1027 int terminate);
1028#endif /* LIBXML_PUSH_ENABLED */
1029
1030/*
1031 * Special I/O mode.
1032 */
1033
1036 void *user_data,
1037 xmlInputReadCallback ioread,
1038 xmlInputCloseCallback ioclose,
1039 void *ioctx,
1040 xmlCharEncoding enc);
1041
1045 xmlCharEncoding enc);
1046
1047/*
1048 * Node infos.
1049 */
1052 const xmlNodePtr node);
1053XMLPUBFUN void XMLCALL
1055XMLPUBFUN void XMLCALL
1057XMLPUBFUN unsigned long XMLCALL
1059 const xmlNodePtr node);
1060XMLPUBFUN void XMLCALL
1063
1064/*
1065 * External entities handling actually implemented in xmlIO.
1066 */
1067
1068XMLPUBFUN void XMLCALL
1073 xmlLoadExternalEntity (const char *URL,
1074 const char *ID,
1075 xmlParserCtxtPtr ctxt);
1076
1077/*
1078 * Index lookup, actually implemented in the encoding module
1079 */
1080XMLPUBFUN long XMLCALL
1082
1083/*
1084 * New set of simpler/more flexible APIs
1085 */
1092typedef enum {
1093 XML_PARSE_RECOVER = 1<<0, /* recover on errors */
1094 XML_PARSE_NOENT = 1<<1, /* substitute entities */
1095 XML_PARSE_DTDLOAD = 1<<2, /* load the external subset */
1096 XML_PARSE_DTDATTR = 1<<3, /* default DTD attributes */
1097 XML_PARSE_DTDVALID = 1<<4, /* validate with the DTD */
1098 XML_PARSE_NOERROR = 1<<5, /* suppress error reports */
1099 XML_PARSE_NOWARNING = 1<<6, /* suppress warning reports */
1100 XML_PARSE_PEDANTIC = 1<<7, /* pedantic error reporting */
1101 XML_PARSE_NOBLANKS = 1<<8, /* remove blank nodes */
1102 XML_PARSE_SAX1 = 1<<9, /* use the SAX1 interface internally */
1103 XML_PARSE_XINCLUDE = 1<<10,/* Implement XInclude substitution */
1104 XML_PARSE_NONET = 1<<11,/* Forbid network access */
1105 XML_PARSE_NODICT = 1<<12,/* Do not reuse the context dictionary */
1106 XML_PARSE_NSCLEAN = 1<<13,/* remove redundant namespaces declarations */
1107 XML_PARSE_NOCDATA = 1<<14,/* merge CDATA as text nodes */
1108 XML_PARSE_NOXINCNODE= 1<<15,/* do not generate XINCLUDE START/END nodes */
1109 XML_PARSE_COMPACT = 1<<16,/* compact small text nodes; no modification of
1110 the tree allowed afterwards (will possibly
1111 crash if you try to modify the tree) */
1112 XML_PARSE_OLD10 = 1<<17,/* parse using XML-1.0 before update 5 */
1113 XML_PARSE_NOBASEFIX = 1<<18,/* do not fixup XINCLUDE xml:base uris */
1114 XML_PARSE_HUGE = 1<<19,/* relax any hardcoded limit from the parser */
1115 XML_PARSE_OLDSAX = 1<<20,/* parse using SAX2 interface before 2.7.0 */
1116 XML_PARSE_IGNORE_ENC= 1<<21,/* ignore internal document encoding hint */
1117 XML_PARSE_BIG_LINES = 1<<22 /* Store big lines numbers in text PSVI field */
1119
1120XMLPUBFUN void XMLCALL
1124 const char *chunk,
1125 int size,
1126 const char *filename,
1127 const char *encoding);
1130 int options);
1132 xmlReadDoc (const xmlChar *cur,
1133 const char *URL,
1134 const char *encoding,
1135 int options);
1137 xmlReadFile (const char *URL,
1138 const char *encoding,
1139 int options);
1141 xmlReadMemory (const char *buffer,
1142 int size,
1143 const char *URL,
1144 const char *encoding,
1145 int options);
1147 xmlReadFd (int fd,
1148 const char *URL,
1149 const char *encoding,
1150 int options);
1153 xmlInputCloseCallback ioclose,
1154 void *ioctx,
1155 const char *URL,
1156 const char *encoding,
1157 int options);
1160 const xmlChar *cur,
1161 const char *URL,
1162 const char *encoding,
1163 int options);
1166 const char *filename,
1167 const char *encoding,
1168 int options);
1171 const char *buffer,
1172 int size,
1173 const char *URL,
1174 const char *encoding,
1175 int options);
1178 int fd,
1179 const char *URL,
1180 const char *encoding,
1181 int options);
1184 xmlInputReadCallback ioread,
1185 xmlInputCloseCallback ioclose,
1186 void *ioctx,
1187 const char *URL,
1188 const char *encoding,
1189 int options);
1190
1191/*
1192 * Library wide options
1193 */
1201typedef enum {
1235 XML_WITH_NONE = 99999 /* just to be sure of allocation size */
1237
1240
1241#ifdef __cplusplus
1242}
1243#endif
1244#endif /* __XML_PARSER_H__ */
#define msg(x)
Definition: auth_time.c:54
struct _tree tree
_In_ uint16_t _Out_ ULONG * atts
Definition: btrfs_drv.h:1107
content
Definition: atl_ax.c:994
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
Definition: typeof.h:31
xmlCharEncoding
Definition: encoding.h:56
#define XMLCALL
FxCollectionEntry * cur
GLint GLint GLsizei GLsizei GLsizei depth
Definition: gl.h:1546
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLsizeiptr size
Definition: glext.h:5919
GLuint buffer
Definition: glext.h:5915
GLfloat f
Definition: glext.h:7540
GLuint in
Definition: glext.h:9616
GLuint GLfloat * val
Definition: glext.h:7180
GLenum GLsizei len
Definition: glext.h:6722
GLenum GLenum GLenum input
Definition: glext.h:9031
GLuint64EXT * result
Definition: glext.h:11304
GLenum target
Definition: glext.h:7315
const char * filename
Definition: ioapi.h:137
int const JOCTET unsigned int datalen
Definition: jpeglib.h:1031
void MSVCRT() terminate()
const char * fullname
Definition: shader.c:1766
static size_t elem
Definition: string.c:68
INTERNETFEATURELIST feature
Definition: misc.c:1719
const WCHAR * str
#define ID
Definition: ruserpass.c:36
void(XMLCDECL *) typedef void(XMLCDECL *) typedef void(XMLCDECL * fatalErrorSAXFunc)(void *ctx, const char *msg,...) LIBXML_ATTR_FORMAT(2
Definition: parser.h:630
XMLPUBFUN xmlDocPtr XMLCALL xmlReadMemory(const char *buffer, int size, const char *URL, const char *encoding, int options)
Definition: parser.c:15253
xmlParserInputState
Definition: parser.h:110
@ XML_PARSER_END_TAG
Definition: parser.h:121
@ XML_PARSER_PROLOG
Definition: parser.h:116
@ XML_PARSER_IGNORE
Definition: parser.h:127
@ XML_PARSER_PUBLIC_LITERAL
Definition: parser.h:128
@ XML_PARSER_PI
Definition: parser.h:114
@ XML_PARSER_SYSTEM_LITERAL
Definition: parser.h:125
@ XML_PARSER_ATTRIBUTE_VALUE
Definition: parser.h:124
@ XML_PARSER_DTD
Definition: parser.h:115
@ XML_PARSER_EOF
Definition: parser.h:111
@ XML_PARSER_START_TAG
Definition: parser.h:118
@ XML_PARSER_CONTENT
Definition: parser.h:119
@ XML_PARSER_ENTITY_VALUE
Definition: parser.h:123
@ XML_PARSER_EPILOG
Definition: parser.h:126
@ XML_PARSER_START
Definition: parser.h:112
@ XML_PARSER_COMMENT
Definition: parser.h:117
@ XML_PARSER_CDATA_SECTION
Definition: parser.h:120
@ XML_PARSER_MISC
Definition: parser.h:113
@ XML_PARSER_ENTITY_DECL
Definition: parser.h:122
void(* startElementNsSAX2Func)(void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI, int nb_namespaces, const xmlChar **namespaces, int nb_attributes, int nb_defaulted, const xmlChar **attributes)
Definition: parser.h:692
XMLPUBFUN xmlParserCtxtPtr XMLCALL xmlCreateIOParserCtxt(xmlSAXHandlerPtr sax, void *user_data, xmlInputReadCallback ioread, xmlInputCloseCallback ioclose, void *ioctx, xmlCharEncoding enc)
Definition: parser.c:12605
XMLPUBFUN int XMLCALL xmlKeepBlanksDefault(int val)
void(* cdataBlockSAXFunc)(void *ctx, const xmlChar *value, int len)
Definition: parser.h:596
XMLPUBFUN xmlDocPtr XMLCALL xmlCtxtReadIO(xmlParserCtxtPtr ctxt, xmlInputReadCallback ioread, xmlInputCloseCallback ioclose, void *ioctx, const char *URL, const char *encoding, int options)
Definition: parser.c:15515
XMLPUBFUN void XMLCALL xmlClearNodeInfoSeq(xmlParserNodeInfoSeqPtr seq)
XMLPUBFUN int XMLCALL xmlHasFeature(xmlFeature feature)
Definition: parser.c:874
XMLPUBFUN xmlParserInputPtr XMLCALL xmlNewIOInputStream(xmlParserCtxtPtr ctxt, xmlParserInputBufferPtr input, xmlCharEncoding enc)
XMLPUBFUN xmlDocPtr XMLCALL xmlCtxtReadFd(xmlParserCtxtPtr ctxt, int fd, const char *URL, const char *encoding, int options)
Definition: parser.c:15471
XMLPUBFUN int XMLCALL xmlParseExtParsedEnt(xmlParserCtxtPtr ctxt)
Definition: parser.c:10889
void(* internalSubsetSAXFunc)(void *ctx, const xmlChar *name, const xmlChar *ExternalID, const xmlChar *SystemID)
Definition: parser.h:362
XMLPUBFUN xmlDocPtr XMLCALL xmlReadFile(const char *URL, const char *encoding, int options)
Definition: parser.c:15229
XMLPUBFUN int XMLCALL xmlParseCtxtExternalEntity(xmlParserCtxtPtr ctx, const xmlChar *URL, const xmlChar *ID, xmlNodePtr *lst)
Definition: parser.c:12968
XMLPUBFUN void XMLCALL xmlCleanupParser(void)
Definition: parser.c:14739
void(XMLCDECL * warningSAXFunc)(void *ctx, const char *msg,...) LIBXML_ATTR_FORMAT(2
Definition: parser.h:608
void(* startDocumentSAXFunc)(void *ctx)
Definition: parser.h:494
XMLPUBFUN xmlParserCtxtPtr XMLCALL xmlCreateDocParserCtxt(const xmlChar *cur)
Definition: parser.c:14542
XMLPUBFUN void XMLCALL xmlStopParser(xmlParserCtxtPtr ctxt)
Definition: parser.c:12583
void(* commentSAXFunc)(void *ctx, const xmlChar *value)
Definition: parser.h:586
XMLPUBFUN void XMLCALL xmlCtxtReset(xmlParserCtxtPtr ctxt)
Definition: parser.c:14801
void(* attributeSAXFunc)(void *ctx, const xmlChar *name, const xmlChar *value)
Definition: parser.h:533
XMLPUBFUN void XMLCALL xmlInitParser(void)
Definition: parser.c:14676
void(* unparsedEntityDeclSAXFunc)(void *ctx, const xmlChar *name, const xmlChar *publicId, const xmlChar *systemId, const xmlChar *notationName)
Definition: parser.h:473
XMLPUBFUN int XMLCALL xmlParserInputRead(xmlParserInputPtr in, int len)
void(* elementDeclSAXFunc)(void *ctx, const xmlChar *name, int type, xmlElementContentPtr content)
Definition: parser.h:459
xmlEntityPtr(* getParameterEntitySAXFunc)(void *ctx, const xmlChar *name)
Definition: parser.h:399
void(* processingInstructionSAXFunc)(void *ctx, const xmlChar *target, const xmlChar *data)
Definition: parser.h:576
xmlEntityPtr(* getEntitySAXFunc)(void *ctx, const xmlChar *name)
Definition: parser.h:388
void(XMLCDECL *) typedef void(XMLCDECL * errorSAXFunc)(void *ctx, const char *msg,...) LIBXML_ATTR_FORMAT(2
Definition: parser.h:618
xmlParserInputPtr(* resolveEntitySAXFunc)(void *ctx, const xmlChar *publicId, const xmlChar *systemId)
Definition: parser.h:350
XMLPUBFUN xmlDocPtr XMLCALL xmlCtxtReadMemory(xmlParserCtxtPtr ctxt, const char *buffer, int size, const char *URL, const char *encoding, int options)
Definition: parser.c:15426
XMLPUBFUN xmlDocPtr XMLCALL xmlReadFd(int fd, const char *URL, const char *encoding, int options)
Definition: parser.c:15278
xmlParserOption
Definition: parser.h:1092
@ XML_PARSE_SAX1
Definition: parser.h:1102
@ XML_PARSE_DTDVALID
Definition: parser.h:1097
@ XML_PARSE_NOWARNING
Definition: parser.h:1099
@ XML_PARSE_NOCDATA
Definition: parser.h:1107
@ XML_PARSE_COMPACT
Definition: parser.h:1109
@ XML_PARSE_NONET
Definition: parser.h:1104
@ XML_PARSE_NOBLANKS
Definition: parser.h:1101
@ XML_PARSE_IGNORE_ENC
Definition: parser.h:1116
@ XML_PARSE_NOBASEFIX
Definition: parser.h:1113
@ XML_PARSE_DTDLOAD
Definition: parser.h:1095
@ XML_PARSE_XINCLUDE
Definition: parser.h:1103
@ XML_PARSE_RECOVER
Definition: parser.h:1093
@ XML_PARSE_HUGE
Definition: parser.h:1114
@ XML_PARSE_NODICT
Definition: parser.h:1105
@ XML_PARSE_BIG_LINES
Definition: parser.h:1117
@ XML_PARSE_DTDATTR
Definition: parser.h:1096
@ XML_PARSE_OLD10
Definition: parser.h:1112
@ XML_PARSE_OLDSAX
Definition: parser.h:1115
@ XML_PARSE_NOERROR
Definition: parser.h:1098
@ XML_PARSE_NOXINCNODE
Definition: parser.h:1108
@ XML_PARSE_NOENT
Definition: parser.h:1094
@ XML_PARSE_PEDANTIC
Definition: parser.h:1100
@ XML_PARSE_NSCLEAN
Definition: parser.h:1106
void(* charactersSAXFunc)(void *ctx, const xmlChar *ch, int len)
Definition: parser.h:553
void(* entityDeclSAXFunc)(void *ctx, const xmlChar *name, int type, const xmlChar *publicId, const xmlChar *systemId, xmlChar *content)
Definition: parser.h:412
XMLPUBFUN xmlExternalEntityLoader XMLCALL xmlGetExternalEntityLoader(void)
xmlSAXHandlerV1 * xmlSAXHandlerV1Ptr
Definition: parser.h:759
int(* hasExternalSubsetSAXFunc)(void *ctx)
Definition: parser.h:659
XMLPUBFUN const xmlParserNodeInfo *XMLCALL xmlParserFindNodeInfo(const xmlParserCtxtPtr ctxt, const xmlNodePtr node)
XMLPUBFUN int XMLCALL xmlPedanticParserDefault(int val)
XMLPUBFUN int XMLCALL xmlParserInputGrow(xmlParserInputPtr in, int len)
XMLPUBFUN int XMLCALL xmlCtxtUseOptions(xmlParserCtxtPtr ctxt, int options)
Definition: parser.c:15141
void(* setDocumentLocatorSAXFunc)(void *ctx, xmlSAXLocatorPtr loc)
Definition: parser.h:486
void(* xmlParserInputDeallocate)(xmlChar *str)
Definition: parser.h:50
XMLPUBFUN xmlDocPtr XMLCALL xmlReadIO(xmlInputReadCallback ioread, xmlInputCloseCallback ioclose, void *ioctx, const char *URL, const char *encoding, int options)
Definition: parser.c:15321
void(* attributeDeclSAXFunc)(void *ctx, const xmlChar *elem, const xmlChar *fullname, int type, int def, const xmlChar *defaultValue, xmlEnumerationPtr tree)
Definition: parser.h:443
int(* hasInternalSubsetSAXFunc)(void *ctx)
Definition: parser.h:649
void(* ignorableWhitespaceSAXFunc)(void *ctx, const xmlChar *ch, int len)
Definition: parser.h:565
XMLPUBFUN void XMLCALL xmlFreeParserCtxt(xmlParserCtxtPtr ctxt)
XMLPUBFUN int XMLCALL xmlLineNumbersDefault(int val)
void(* endElementSAXFunc)(void *ctx, const xmlChar *name)
Definition: parser.h:520
XMLPUBFUN void XMLCALL xmlSetExternalEntityLoader(xmlExternalEntityLoader f)
XMLPUBFUN int XMLCALL xmlCtxtResetPush(xmlParserCtxtPtr ctxt, const char *chunk, int size, const char *filename, const char *encoding)
Definition: parser.c:14907
XMLPUBFUN int XMLCALL xmlSubstituteEntitiesDefault(int val)
xmlParserNodeInfo * xmlParserNodeInfoPtr
Definition: parser.h:85
xmlFeature
Definition: parser.h:1201
@ XML_WITH_DEBUG
Definition: parser.h:1229
@ XML_WITH_LEGACY
Definition: parser.h:1214
@ XML_WITH_CATALOG
Definition: parser.h:1216
@ XML_WITH_XPATH
Definition: parser.h:1217
@ XML_WITH_TREE
Definition: parser.h:1203
@ XML_WITH_DEBUG_MEM
Definition: parser.h:1230
@ XML_WITH_DEBUG_RUN
Definition: parser.h:1231
@ XML_WITH_XPTR
Definition: parser.h:1218
@ XML_WITH_OUTPUT
Definition: parser.h:1204
@ XML_WITH_EXPR
Definition: parser.h:1225
@ XML_WITH_VALID
Definition: parser.h:1212
@ XML_WITH_THREAD
Definition: parser.h:1202
@ XML_WITH_SCHEMAS
Definition: parser.h:1226
@ XML_WITH_C14N
Definition: parser.h:1215
@ XML_WITH_MODULES
Definition: parser.h:1228
@ XML_WITH_NONE
Definition: parser.h:1235
@ XML_WITH_UNICODE
Definition: parser.h:1222
@ XML_WITH_REGEXP
Definition: parser.h:1223
@ XML_WITH_HTML
Definition: parser.h:1213
@ XML_WITH_LZMA
Definition: parser.h:1234
@ XML_WITH_AUTOMATA
Definition: parser.h:1224
@ XML_WITH_ISO8859X
Definition: parser.h:1221
@ XML_WITH_PUSH
Definition: parser.h:1205
@ XML_WITH_ICONV
Definition: parser.h:1220
@ XML_WITH_ZLIB
Definition: parser.h:1232
@ XML_WITH_SAX1
Definition: parser.h:1209
@ XML_WITH_PATTERN
Definition: parser.h:1207
@ XML_WITH_WRITER
Definition: parser.h:1208
@ XML_WITH_FTP
Definition: parser.h:1210
@ XML_WITH_HTTP
Definition: parser.h:1211
@ XML_WITH_READER
Definition: parser.h:1206
@ XML_WITH_XINCLUDE
Definition: parser.h:1219
@ XML_WITH_SCHEMATRON
Definition: parser.h:1227
@ XML_WITH_ICU
Definition: parser.h:1233
XMLPUBFUN void XMLCALL xmlParserAddNodeInfo(xmlParserCtxtPtr ctxt, const xmlParserNodeInfoPtr info)
XMLPUBFUN int XMLCALL xmlInitParserCtxt(xmlParserCtxtPtr ctxt)
XMLPUBFUN int XMLCALL xmlParseDocument(xmlParserCtxtPtr ctxt)
Definition: parser.c:10697
void(* endDocumentSAXFunc)(void *ctx)
Definition: parser.h:501
void(* startElementSAXFunc)(void *ctx, const xmlChar *name, const xmlChar **atts)
Definition: parser.h:510
XMLPUBFUN xmlDocPtr XMLCALL xmlCtxtReadDoc(xmlParserCtxtPtr ctxt, const xmlChar *cur, const char *URL, const char *encoding, int options)
Definition: parser.c:15368
XMLPUBFUN xmlDocPtr XMLCALL xmlCtxtReadFile(xmlParserCtxtPtr ctxt, const char *filename, const char *encoding, int options)
Definition: parser.c:15390
XMLPUBFUN xmlDocPtr XMLCALL xmlReadDoc(const xmlChar *cur, const char *URL, const char *encoding, int options)
Definition: parser.c:15204
XMLPUBFUN long XMLCALL xmlByteConsumed(xmlParserCtxtPtr ctxt)
Definition: encoding.c:2882
XMLPUBFUN xmlParserErrors XMLCALL xmlParseInNodeContext(xmlNodePtr node, const char *data, int datalen, int options, xmlNodePtr *lst)
Definition: parser.c:13496
xmlParserNodeInfoSeq * xmlParserNodeInfoSeqPtr
Definition: parser.h:97
void(* endElementNsSAX2Func)(void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI)
Definition: parser.h:713
void(* notationDeclSAXFunc)(void *ctx, const xmlChar *name, const xmlChar *publicId, const xmlChar *systemId)
Definition: parser.h:427
void(* referenceSAXFunc)(void *ctx, const xmlChar *name)
Definition: parser.h:543
XMLPUBFUN void XMLCALL xmlClearParserCtxt(xmlParserCtxtPtr ctxt)
xmlParserMode
Definition: parser.h:161
@ XML_PARSE_READER
Definition: parser.h:167
@ XML_PARSE_PUSH_SAX
Definition: parser.h:166
@ XML_PARSE_SAX
Definition: parser.h:164
@ XML_PARSE_DOM
Definition: parser.h:163
@ XML_PARSE_PUSH_DOM
Definition: parser.h:165
@ XML_PARSE_UNKNOWN
Definition: parser.h:162
XMLPUBFUN xmlParserInputPtr XMLCALL xmlLoadExternalEntity(const char *URL, const char *ID, xmlParserCtxtPtr ctxt)
XMLPUBFUN unsigned long XMLCALL xmlParserFindNodeInfoIndex(const xmlParserNodeInfoSeqPtr seq, const xmlNodePtr node)
void(XMLCDECL *) typedef void(XMLCDECL *) typedef void(XMLCDECL *) typedef int(* isStandaloneSAXFunc)(void *ctx)
Definition: parser.h:640
XMLPUBFUN void XMLCALL xmlInitNodeInfoSeq(xmlParserNodeInfoSeqPtr seq)
void(* externalSubsetSAXFunc)(void *ctx, const xmlChar *name, const xmlChar *ExternalID, const xmlChar *SystemID)
Definition: parser.h:375
xmlParserInputPtr(* xmlExternalEntityLoader)(const char *URL, const char *ID, xmlParserCtxtPtr context)
Definition: parser.h:802
XMLPUBFUN xmlParserCtxtPtr XMLCALL xmlNewParserCtxt(void)
xmlParserInput * xmlParserInputPtr
Definition: tree.h:36
xmlEntity * xmlEntityPtr
Definition: tree.h:49
static int fd
Definition: io.c:51
Definition: tree.h:434
Definition: dict.c:111
Definition: tree.h:551
Definition: tree.h:406
Definition: tree.h:489
xmlParserMode parseMode
Definition: parser.h:302
int inputMax
Definition: parser.h:201
xmlError lastError
Definition: parser.h:301
char * directory
Definition: parser.h:226
const xmlChar ** atts
Definition: parser.h:264
int nsWellFormed
Definition: parser.h:286
int replaceEntities
Definition: parser.h:189
int hasPErefs
Definition: parser.h:216
xmlValidCtxt vctxt
Definition: parser.h:221
int keepBlanks
Definition: parser.h:236
xmlStartTag * pushTab
Definition: parser.h:283
int external
Definition: parser.h:217
int spaceMax
Definition: parser.h:246
int wellFormed
Definition: parser.h:188
int progressive
Definition: parser.h:262
int * space
Definition: parser.h:244
int loadsubset
Definition: parser.h:258
long nbChars
Definition: parser.h:234
int disableSAX
Definition: parser.h:237
const xmlChar * str_xml
Definition: parser.h:271
int freeElemsNr
Definition: parser.h:293
void * _private
Definition: parser.h:256
xmlNodePtr * nodeTab
Definition: parser.h:208
int freeAttrsNr
Definition: parser.h:295
xmlParserInputPtr entity
Definition: parser.h:250
const xmlChar * intSubName
Definition: parser.h:239
xmlChar * extSubSystem
Definition: parser.h:241
struct _xmlSAXHandler * sax
Definition: parser.h:185
xmlParserNodeInfoSeq node_seq
Definition: parser.h:211
int dictNames
Definition: parser.h:292
xmlDocPtr myDoc
Definition: parser.h:187
int hasExternalSubset
Definition: parser.h:215
long checkIndex
Definition: parser.h:235
int pedantic
Definition: parser.h:255
const xmlChar * str_xml_ns
Definition: parser.h:273
xmlParserInputState instate
Definition: parser.h:223
const xmlChar * str_xmlns
Definition: parser.h:272
const xmlChar * encoding
Definition: parser.h:191
xmlParserNodeInfo * nodeInfo
Definition: parser.h:307
xmlDictPtr dict
Definition: parser.h:263
int recovery
Definition: parser.h:261
int * attallocs
Definition: parser.h:282
int input_id
Definition: parser.h:312
const xmlChar ** nsTab
Definition: parser.h:281
xmlHashTablePtr attsSpecial
Definition: parser.h:285
int nodeInfoMax
Definition: parser.h:309
void * catalogs
Definition: parser.h:260
xmlChar * extSubURI
Definition: parser.h:240
const xmlChar * name
Definition: parser.h:229
unsigned long sizeentities
Definition: parser.h:304
const xmlChar * version
Definition: parser.h:190
xmlAttrPtr freeAttrs
Definition: parser.h:296
int record_info
Definition: parser.h:210
int * spaceTab
Definition: parser.h:247
int inSubset
Definition: parser.h:238
int standalone
Definition: parser.h:192
unsigned long sizeentcopy
Definition: parser.h:313
xmlParserInputPtr * inputTab
Definition: parser.h:202
const xmlChar ** nameTab
Definition: parser.h:232
void * userData
Definition: parser.h:186
unsigned long nbentities
Definition: parser.h:303
xmlHashTablePtr attsDefault
Definition: parser.h:284
int linenumbers
Definition: parser.h:259
xmlNodePtr node
Definition: parser.h:205
xmlParserNodeInfo * nodeInfoTab
Definition: parser.h:310
int validate
Definition: parser.h:220
xmlNodePtr freeElems
Definition: parser.h:294
xmlParserInputPtr input
Definition: parser.h:199
int nodeInfoNr
Definition: parser.h:308
int standalone
Definition: parser.h:73
const char * filename
Definition: parser.h:56
const xmlChar * encoding
Definition: parser.h:71
xmlParserInputDeallocate free
Definition: parser.h:70
unsigned long consumed
Definition: parser.h:69
const xmlChar * end
Definition: parser.h:60
const xmlChar * base
Definition: parser.h:58
xmlParserInputBufferPtr buf
Definition: parser.h:54
const xmlChar * version
Definition: parser.h:72
const char * directory
Definition: parser.h:57
const xmlChar * cur
Definition: parser.h:59
unsigned long length
Definition: parser.h:100
unsigned long maximum
Definition: parser.h:99
xmlParserNodeInfo * buffer
Definition: parser.h:101
const struct _xmlNode * node
Definition: parser.h:88
unsigned long begin_line
Definition: parser.h:91
unsigned long end_pos
Definition: parser.h:92
unsigned long end_line
Definition: parser.h:93
unsigned long begin_pos
Definition: parser.h:90
commentSAXFunc comment
Definition: parser.h:781
attributeDeclSAXFunc attributeDecl
Definition: parser.h:769
hasExternalSubsetSAXFunc hasExternalSubset
Definition: parser.h:764
ignorableWhitespaceSAXFunc ignorableWhitespace
Definition: parser.h:779
startDocumentSAXFunc startDocument
Definition: parser.h:773
charactersSAXFunc characters
Definition: parser.h:778
endDocumentSAXFunc endDocument
Definition: parser.h:774
processingInstructionSAXFunc processingInstruction
Definition: parser.h:780
startElementSAXFunc startElement
Definition: parser.h:775
elementDeclSAXFunc elementDecl
Definition: parser.h:770
getParameterEntitySAXFunc getParameterEntity
Definition: parser.h:785
internalSubsetSAXFunc internalSubset
Definition: parser.h:761
notationDeclSAXFunc notationDecl
Definition: parser.h:768
isStandaloneSAXFunc isStandalone
Definition: parser.h:762
fatalErrorSAXFunc fatalError
Definition: parser.h:784
getEntitySAXFunc getEntity
Definition: parser.h:766
referenceSAXFunc reference
Definition: parser.h:777
unparsedEntityDeclSAXFunc unparsedEntityDecl
Definition: parser.h:771
errorSAXFunc error
Definition: parser.h:783
resolveEntitySAXFunc resolveEntity
Definition: parser.h:765
cdataBlockSAXFunc cdataBlock
Definition: parser.h:786
endElementSAXFunc endElement
Definition: parser.h:776
entityDeclSAXFunc entityDecl
Definition: parser.h:767
warningSAXFunc warning
Definition: parser.h:782
externalSubsetSAXFunc externalSubset
Definition: parser.h:787
setDocumentLocatorSAXFunc setDocumentLocator
Definition: parser.h:772
unsigned int initialized
Definition: parser.h:788
hasInternalSubsetSAXFunc hasInternalSubset
Definition: parser.h:763
void * _private
Definition: parser.h:749
unparsedEntityDeclSAXFunc unparsedEntityDecl
Definition: parser.h:730
hasExternalSubsetSAXFunc hasExternalSubset
Definition: parser.h:723
setDocumentLocatorSAXFunc setDocumentLocator
Definition: parser.h:731
getEntitySAXFunc getEntity
Definition: parser.h:725
commentSAXFunc comment
Definition: parser.h:740
errorSAXFunc error
Definition: parser.h:742
attributeDeclSAXFunc attributeDecl
Definition: parser.h:728
referenceSAXFunc reference
Definition: parser.h:736
startElementNsSAX2Func startElementNs
Definition: parser.h:750
externalSubsetSAXFunc externalSubset
Definition: parser.h:746
internalSubsetSAXFunc internalSubset
Definition: parser.h:720
endElementSAXFunc endElement
Definition: parser.h:735
isStandaloneSAXFunc isStandalone
Definition: parser.h:721
endDocumentSAXFunc endDocument
Definition: parser.h:733
fatalErrorSAXFunc fatalError
Definition: parser.h:743
hasInternalSubsetSAXFunc hasInternalSubset
Definition: parser.h:722
notationDeclSAXFunc notationDecl
Definition: parser.h:727
resolveEntitySAXFunc resolveEntity
Definition: parser.h:724
getParameterEntitySAXFunc getParameterEntity
Definition: parser.h:744
endElementNsSAX2Func endElementNs
Definition: parser.h:751
cdataBlockSAXFunc cdataBlock
Definition: parser.h:745
startElementSAXFunc startElement
Definition: parser.h:734
xmlStructuredErrorFunc serror
Definition: parser.h:752
entityDeclSAXFunc entityDecl
Definition: parser.h:726
processingInstructionSAXFunc processingInstruction
Definition: parser.h:739
charactersSAXFunc characters
Definition: parser.h:737
warningSAXFunc warning
Definition: parser.h:741
startDocumentSAXFunc startDocument
Definition: parser.h:732
elementDeclSAXFunc elementDecl
Definition: parser.h:729
unsigned int initialized
Definition: parser.h:747
ignorableWhitespaceSAXFunc ignorableWhitespace
Definition: parser.h:738
int(* getColumnNumber)(void *ctx)
Definition: parser.h:325
int(* getLineNumber)(void *ctx)
Definition: parser.h:324
Definition: http.c:7252
Definition: name.c:39
Definition: dlist.c:348
Definition: pdh_main.c:94
typedeftypedef void(XMLCDECL *) typedef void(XMLCDECL *) struct _xmlValidCtx xmlValidCtxt)
Definition: valid.h:80
int(XMLCALL * xmlInputReadCallback)(void *context, char *buffer, int len)
Definition: xmlIO.h:54
int(XMLCALL * xmlInputCloseCallback)(void *context)
Definition: xmlIO.h:63
void(XMLCDECL *) typedef void(XMLCALL * xmlStructuredErrorFunc)(void *userData, xmlErrorPtr error)
Definition: xmlerror.h:858
xmlParserErrors
Definition: xmlerror.h:99
#define XMLPUBFUN
Definition: xmlexports.h:61
#define XMLCDECL
Definition: xmlexports.h:52
static int recovery
Definition: xmllint.c:109
static int sax
Definition: xmllint.c:193
static char * encoding
Definition: xmllint.c:155
unsigned char xmlChar
Definition: xmlstring.h:28
#define LIBXML_ATTR_FORMAT(fmt, args)
Definition: xmlversion.h:486
#define XML_DEPRECATED
Definition: xmlversion.h:494