Home | History | Annotate | Download | only in xmlwf

Lines Matching refs:parser

56   XML_Parser parser;
61 reportError(XML_Parser parser, const XML_Char *filename)
63 enum XML_Error code = XML_GetErrorCode(parser);
68 XML_GetErrorLineNumber(parser),
69 XML_GetErrorColumnNumber(parser),
80 XML_Parser parser = ((PROCESS_ARGS *)args)->parser;
82 if (XML_Parse(parser, (const char *)data, (int)size, 1) == XML_STATUS_ERROR) {
83 reportError(parser, filename);
131 externalEntityRefFilemap(XML_Parser parser,
140 XML_Parser entParser = XML_ExternalEntityParserCreate(parser, context, 0);
143 args.parser = entParser;
154 processStream(const XML_Char *filename, XML_Parser parser)
168 char *buf = (char *)XML_GetBuffer(parser, READ_SIZE);
183 if (XML_ParseBuffer(parser, nread, nread == 0) == XML_STATUS_ERROR) {
184 reportError(parser, filename != NULL ? filename : "STDIN");
199 externalEntityRefStream(XML_Parser parser,
208 XML_Parser entParser = XML_ExternalEntityParserCreate(parser, context, 0);
218 XML_ProcessFile(XML_Parser parser,
224 if (!XML_SetBase(parser, filename)) {
230 XML_SetExternalEntityRefHandler(parser,
237 args.parser = parser;
242 result = processStream(filename, parser);