mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-08-01 10:06:59 +03:00
compilation and doc build fixes from Michael Day Daniel
* xmlreader.c include/libxml/xmlreader.h xmlschemas.c: compilation and doc build fixes from Michael Day Daniel
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Mon Jan 2 11:20:00 CET 2006 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
|
* xmlreader.c include/libxml/xmlreader.h xmlschemas.c: compilation
|
||||||
|
and doc build fixes from Michael Day
|
||||||
|
|
||||||
Wed Dec 28 22:12:34 CET 2005 Daniel Veillard <daniel@veillard.com>
|
Wed Dec 28 22:12:34 CET 2005 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* xmlregexp.c: bug in xmlRegExecPushString2() pointed out by
|
* xmlregexp.c: bug in xmlRegExecPushString2() pointed out by
|
||||||
|
@ -121,10 +121,15 @@ XMLPUBFUN void XMLCALL
|
|||||||
*/
|
*/
|
||||||
XMLPUBFUN int XMLCALL
|
XMLPUBFUN int XMLCALL
|
||||||
xmlTextReaderRead (xmlTextReaderPtr reader);
|
xmlTextReaderRead (xmlTextReaderPtr reader);
|
||||||
|
|
||||||
|
#ifdef LIBXML_WRITER_ENABLED
|
||||||
XMLPUBFUN xmlChar * XMLCALL
|
XMLPUBFUN xmlChar * XMLCALL
|
||||||
xmlTextReaderReadInnerXml (xmlTextReaderPtr reader);
|
xmlTextReaderReadInnerXml (xmlTextReaderPtr reader);
|
||||||
|
|
||||||
XMLPUBFUN xmlChar * XMLCALL
|
XMLPUBFUN xmlChar * XMLCALL
|
||||||
xmlTextReaderReadOuterXml (xmlTextReaderPtr reader);
|
xmlTextReaderReadOuterXml (xmlTextReaderPtr reader);
|
||||||
|
#endif
|
||||||
|
|
||||||
XMLPUBFUN xmlChar * XMLCALL
|
XMLPUBFUN xmlChar * XMLCALL
|
||||||
xmlTextReaderReadString (xmlTextReaderPtr reader);
|
xmlTextReaderReadString (xmlTextReaderPtr reader);
|
||||||
XMLPUBFUN int XMLCALL
|
XMLPUBFUN int XMLCALL
|
||||||
|
@ -1626,6 +1626,7 @@ xmlTextReaderNext(xmlTextReaderPtr reader) {
|
|||||||
return(xmlTextReaderRead(reader));
|
return(xmlTextReaderRead(reader));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef LIBXML_WRITER_ENABLED
|
||||||
/**
|
/**
|
||||||
* xmlTextReaderReadInnerXml:
|
* xmlTextReaderReadInnerXml:
|
||||||
* @reader: the xmlTextReaderPtr used
|
* @reader: the xmlTextReaderPtr used
|
||||||
@ -1669,7 +1670,9 @@ xmlTextReaderReadInnerXml(xmlTextReaderPtr reader ATTRIBUTE_UNUSED)
|
|||||||
xmlBufferFree(buff);
|
xmlBufferFree(buff);
|
||||||
return resbuf;
|
return resbuf;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef LIBXML_WRITER_ENABLED
|
||||||
/**
|
/**
|
||||||
* xmlTextReaderReadOuterXml:
|
* xmlTextReaderReadOuterXml:
|
||||||
* @reader: the xmlTextReaderPtr used
|
* @reader: the xmlTextReaderPtr used
|
||||||
@ -1708,6 +1711,7 @@ xmlTextReaderReadOuterXml(xmlTextReaderPtr reader ATTRIBUTE_UNUSED)
|
|||||||
xmlBufferFree(buff);
|
xmlBufferFree(buff);
|
||||||
return resbuf;
|
return resbuf;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* xmlTextReaderReadString:
|
* xmlTextReaderReadString:
|
||||||
|
@ -5119,11 +5119,11 @@ xmlNewAutomata(void) {
|
|||||||
/* initialize the parser */
|
/* initialize the parser */
|
||||||
ctxt->end = NULL;
|
ctxt->end = NULL;
|
||||||
ctxt->start = ctxt->state = xmlRegNewState(ctxt);
|
ctxt->start = ctxt->state = xmlRegNewState(ctxt);
|
||||||
ctxt->start->type = XML_REGEXP_START_STATE;
|
|
||||||
if (ctxt->start == NULL) {
|
if (ctxt->start == NULL) {
|
||||||
xmlFreeAutomata(ctxt);
|
xmlFreeAutomata(ctxt);
|
||||||
return(NULL);
|
return(NULL);
|
||||||
}
|
}
|
||||||
|
ctxt->start->type = XML_REGEXP_START_STATE;
|
||||||
if (xmlRegStatePush(ctxt, ctxt->start) < 0) {
|
if (xmlRegStatePush(ctxt, ctxt->start) < 0) {
|
||||||
xmlRegFreeState(ctxt->start);
|
xmlRegFreeState(ctxt->start);
|
||||||
xmlFreeAutomata(ctxt);
|
xmlFreeAutomata(ctxt);
|
||||||
|
@ -17843,6 +17843,7 @@ xmlSchemaFixupSimpleTypeStageOne(xmlSchemaParserCtxtPtr pctxt,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEBUG_TYPE
|
#ifdef DEBUG_TYPE
|
||||||
|
void
|
||||||
xmlSchemaDebugFixedType(xmlSchemaParserCtxtPtr pctxt,
|
xmlSchemaDebugFixedType(xmlSchemaParserCtxtPtr pctxt,
|
||||||
xmlSchemaTypePtr type)
|
xmlSchemaTypePtr type)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user