Lines Matching defs:_xmlParserCtxt
184 struct _xmlParserCtxt { struct
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)/Docbook(2) document */
196 xmlParserInputPtr input; /* Current input stream */
197 int inputNr; /* Number of current input streams */
198 int inputMax; /* Max number of input streams */
199 xmlParserInputPtr *inputTab; /* stack of inputs */
202 xmlNodePtr node; /* Current parsed Node */
203 int nodeNr; /* Depth of the parsing stack */
204 int nodeMax; /* Max depth of the parsing stack */
205 xmlNodePtr *nodeTab; /* array of nodes */
207 int record_info; /* Whether node info should be kept */
208 xmlParserNodeInfoSeq node_seq; /* info about each node parsed */
210 int errNo; /* error code */
212 int hasExternalSubset; /* reference and external subset */
213 int hasPErefs; /* the internal subset has PE refs */
214 int external; /* are we parsing an external entity */
216 int valid; /* is the document valid */
217 int validate; /* shall we try to validate ? */
218 xmlValidCtxt vctxt; /* The validity context */
220 xmlParserInputState instate; /* current type of input */
221 int token; /* next char look-ahead */
223 char *directory; /* the data directory */
226 const xmlChar *name; /* Current parsed Node */
227 int nameNr; /* Depth of the parsing stack */
228 int nameMax; /* Max depth of the parsing stack */
229 const xmlChar * *nameTab; /* array of nodes */
231 long nbChars; /* number of xmlChar processed */
232 long checkIndex; /* used by progressive parsing lookup */
233 int keepBlanks; /* ugly but ... */
234 int disableSAX; /* SAX callbacks are disabled */
235 int inSubset; /* Parsing is in int 1/ext 2 subset */
236 const xmlChar * intSubName; /* name of subset */
237 xmlChar * extSubURI; /* URI of external subset */
238 xmlChar * extSubSystem; /* SYSTEM ID of external subset */
241 int * space; /* Should the parser preserve spaces */
242 int spaceNr; /* Depth of the parsing stack */
243 int spaceMax; /* Max depth of the parsing stack */
244 int * spaceTab; /* array of space infos */
246 int depth; /* to prevent entity substitution loops */
247 xmlParserInputPtr entity; /* used to check entities boundaries */
248 int charset; /* encoding of the in-memory content
250 int nodelen; /* Those two fields are there to */
251 int nodemem; /* Speed up large node parsing */
252 int pedantic; /* signal pedantic warnings */
253 void *_private; /* For user data, libxml won't touch it */
255 int loadsubset; /* should the external subset be loaded */
279 struct _xmlParserCtxt *nsParent; /* parent context to inherit namespaces from * */ argument
280 int *attallocs; /* which attribute were allocated */
281 void * *pushTab; /* array of data for push */
282 xmlHashTablePtr attsDefault; /* defaulted attributes if any */
283 xmlHashTablePtr attsSpecial; /* non-CDATA attributes if any */
284 int nsWellFormed; /* is the document XML Nanespace okay */
285 int options; /* Extra options */
290 int dictNames; /* Use dictionary names for the tree */
291 int freeElemsNr; /* number of freed element nodes */
292 xmlNodePtr freeElems; /* List of freed element nodes */
293 int freeAttrsNr; /* number of freed attributes nodes */
294 xmlAttrPtr freeAttrs; /* List of freed attributes nodes */
299 xmlError lastError;
300 xmlParserMode parseMode; /* the parser mode */
301 unsigned long nbentities; /* number of entities references */
302 unsigned long sizeentities; /* size of parsed entities */