mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-10 08:58:16 +03:00
removed multiple warning, this fixed a bug and should close #111574 Daniel
* DOCBparser.c catalog.c parser.c relaxng.c: removed multiple warning, this fixed a bug and should close #111574 Daniel
This commit is contained in:
parent
37fc84d155
commit
c3ca5ba405
@ -1,3 +1,8 @@
|
||||
Fri May 9 18:14:16 EDT 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* DOCBparser.c catalog.c parser.c relaxng.c: removed multiple
|
||||
warning, this fixed a bug and should close #111574
|
||||
|
||||
Fri May 9 15:34:32 EDT 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* xmlschemas.c: fixing bug #104081 with xs:all with an element
|
||||
|
@ -5918,7 +5918,8 @@ docbCreatePushParserCtxt(docbSAXHandlerPtr sax, void *user_data,
|
||||
if (filename == NULL)
|
||||
inputStream->filename = NULL;
|
||||
else
|
||||
inputStream->filename = xmlCanonicPath(filename);
|
||||
inputStream->filename = (char *)
|
||||
xmlCanonicPath((const xmlChar *)filename);
|
||||
inputStream->buf = buf;
|
||||
inputStream->base = inputStream->buf->buffer->content;
|
||||
inputStream->cur = inputStream->buf->buffer->content;
|
||||
|
@ -788,7 +788,7 @@ xmlParseCatalogFile(const char *filename) {
|
||||
return(NULL);
|
||||
}
|
||||
|
||||
inputStream->filename = xmlCanonicPath(filename);
|
||||
inputStream->filename = (char *) xmlCanonicPath((const xmlChar *)filename);
|
||||
inputStream->buf = buf;
|
||||
inputStream->base = inputStream->buf->buffer->content;
|
||||
inputStream->cur = inputStream->buf->buffer->content;
|
||||
|
2
parser.c
2
parser.c
@ -10751,7 +10751,7 @@ xmlSetupParserForBuffer(xmlParserCtxtPtr ctxt, const xmlChar* buffer,
|
||||
|
||||
xmlClearParserCtxt(ctxt);
|
||||
if (filename != NULL)
|
||||
input->filename = xmlCanonicPath(filename);
|
||||
input->filename = (char *) xmlCanonicPath((const xmlChar *)filename);
|
||||
input->base = buffer;
|
||||
input->cur = buffer;
|
||||
input->end = &buffer[xmlStrlen(buffer)];
|
||||
|
@ -6552,7 +6552,7 @@ xmlRelaxNGFreeParserCtxt(xmlRelaxNGParserCtxtPtr ctxt) {
|
||||
if (ctxt->URL != NULL)
|
||||
xmlFree(ctxt->URL);
|
||||
if (ctxt->doc != NULL)
|
||||
xmlFreeDoc(ctxt->doc);
|
||||
xmlRelaxNGFreeDocument(ctxt->doc);
|
||||
if (ctxt->interleaves != NULL)
|
||||
xmlHashFree(ctxt->interleaves, NULL);
|
||||
if (ctxt->documents != NULL)
|
||||
@ -7751,7 +7751,7 @@ xmlRelaxNGValidateProgressiveCallback(xmlRegExecCtxtPtr exec ATTRIBUTE_UNUSED,
|
||||
xmlRelaxNGDefinePtr define = (xmlRelaxNGDefinePtr) transdata;
|
||||
xmlRelaxNGValidStatePtr state, oldstate;
|
||||
xmlNodePtr node = ctxt->pnode;
|
||||
int ret, oldflags;
|
||||
int ret = 0, oldflags;
|
||||
|
||||
#ifdef DEBUG_PROGRESSIVE
|
||||
xmlGenericError(xmlGenericErrorContext,
|
||||
|
Loading…
x
Reference in New Issue
Block a user