Lines Matching defs:_xmlRelaxNGParserCtxt
204 struct _xmlRelaxNGParserCtxt { struct
205 void *userData; /* user specific data block */
206 xmlRelaxNGValidityErrorFunc error; /* the callback in case of errors */
207 xmlRelaxNGValidityWarningFunc warning; /* the callback in case of warning */
208 xmlStructuredErrorFunc serror;
209 xmlRelaxNGValidErr err;
211 xmlRelaxNGPtr schema; /* The schema in use */
212 xmlRelaxNGGrammarPtr grammar; /* the current grammar */
213 xmlRelaxNGGrammarPtr parentgrammar; /* the parent grammar */
214 int flags; /* parser flags */
215 int nbErrors; /* number of errors at parse time */
216 int nbWarnings; /* number of warnings at parse time */
217 const xmlChar *define; /* the current define scope */
218 xmlRelaxNGDefinePtr def; /* the current define */
220 int nbInterleaves;
221 xmlHashTablePtr interleaves; /* keep track of all the interleaves */
223 xmlRelaxNGDocumentPtr documents; /* all the documents loaded */
224 xmlRelaxNGIncludePtr includes; /* all the includes loaded */
225 xmlChar *URL;
226 xmlDocPtr document;
228 int defNr; /* number of defines used */
229 int defMax; /* number of defines aloocated */
230 xmlRelaxNGDefinePtr *defTab; /* pointer to the allocated definitions */
232 const char *buffer;
233 int size;
236 xmlRelaxNGDocumentPtr doc; /* Current parsed external ref */
237 int docNr; /* Depth of the parsing stack */
238 int docMax; /* Max depth of the parsing stack */
239 xmlRelaxNGDocumentPtr *docTab; /* array of docs */
242 xmlRelaxNGIncludePtr inc; /* Current parsed include */
243 int incNr; /* Depth of the include parsing stack */
244 int incMax; /* Max depth of the parsing stack */
245 xmlRelaxNGIncludePtr *incTab; /* array of incs */
247 int idref; /* requires idref checking */
250 xmlAutomataPtr am; /* the automata */
251 xmlAutomataStatePtr state; /* used to build the automata */
253 int crng; /* compact syntax and other flags */
254 int freedoc; /* need to free the document */