Home
last modified time | relevance | path

Searched refs:parserCtxt (Results 1 – 3 of 3) sorted by relevance

/external/libxml2/python/tests/
Dctxterror.py23 parserCtxt = libxml2.createPushParser(None,"",0,"test.xml") variable
24 parserCtxt.setErrorHandler(callback, "-->")
25 if parserCtxt.getErrorHandler() != (callback,"-->"):
28 parserCtxt.parseChunk(s,len(s),1)
29 doc = parserCtxt.doc()
31 parserCtxt = None variable
41 parserCtxt = libxml2.createPushParser(None,"",0,"test.xml") variable
42 parserCtxt.setErrorHandler(callback, "-->")
43 parserCtxt.parseChunk(s,len(s),1)
44 doc = parserCtxt.doc()
[all …]
/external/libxml2/xstc/
Dxstc.py393 parserCtxt = libxml2.newParserCtxt()
394 if (parserCtxt is None):
401 instance = parserCtxt.ctxtReadFile(filePath, None, libxml2.XML_PARSE_NOWARNING)
406 del parserCtxt
/external/libxml2/
Dxmlschemas.c985 xmlParserCtxtPtr parserCtxt; member
2124 (vctxt->parserCtxt != NULL) && in xmlSchemaErr4Line()
2125 (vctxt->parserCtxt->input != NULL)) { in xmlSchemaErr4Line()
2126 file = vctxt->parserCtxt->input->filename; in xmlSchemaErr4Line()
2127 line = vctxt->parserCtxt->input->line; in xmlSchemaErr4Line()
2128 col = vctxt->parserCtxt->input->col; in xmlSchemaErr4Line()
2141 else if ((vctxt->parserCtxt != NULL) && in xmlSchemaErr4Line()
2142 (vctxt->parserCtxt->input != NULL)) in xmlSchemaErr4Line()
2143 file = vctxt->parserCtxt->input->filename; in xmlSchemaErr4Line()
10614 xmlParserCtxtPtr parserCtxt; in xmlSchemaAddSchemaDoc() local
[all …]