mirror of
https://github.com/GNOME/libxml2.git
synced 2025-03-13 18:47:01 +08:00
applied patch from Markus Keim fixing a problem with I/O callback
* xmlIO.c: applied patch from Markus Keim fixing a problem with I/O callback registration. * include/libxml/xmlerror.h: fixed #122994 comment numbering for xmlParserErrors Daniel
This commit is contained in:
parent
f85ce8e334
commit
9ec2653a3b
@ -1,3 +1,10 @@
|
||||
Tue Sep 23 09:40:33 CEST 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* xmlIO.c: applied patch from Markus Keim fixing a problem
|
||||
with I/O callback registration.
|
||||
* include/libxml/xmlerror.h: fixed #122994 comment numbering
|
||||
for xmlParserErrors
|
||||
|
||||
Mon Sep 22 12:21:11 CEST 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* tree.c include/libxml/tree.h: the uri arg to xmlNodeSetBase is
|
||||
|
@ -67,37 +67,37 @@ typedef enum {
|
||||
|
||||
XML_ERR_COMMENT_NOT_FINISHED, /* 45 */
|
||||
|
||||
XML_ERR_PI_NOT_STARTED, /* 47 */
|
||||
XML_ERR_PI_NOT_STARTED, /* 46 */
|
||||
XML_ERR_PI_NOT_FINISHED,
|
||||
|
||||
XML_ERR_NOTATION_NOT_STARTED, /* 49 */
|
||||
XML_ERR_NOTATION_NOT_STARTED, /* 48 */
|
||||
XML_ERR_NOTATION_NOT_FINISHED,
|
||||
|
||||
XML_ERR_ATTLIST_NOT_STARTED, /* 51 */
|
||||
XML_ERR_ATTLIST_NOT_STARTED, /* 50 */
|
||||
XML_ERR_ATTLIST_NOT_FINISHED,
|
||||
|
||||
XML_ERR_MIXED_NOT_STARTED, /* 53 */
|
||||
XML_ERR_MIXED_NOT_STARTED, /* 52 */
|
||||
XML_ERR_MIXED_NOT_FINISHED,
|
||||
|
||||
XML_ERR_ELEMCONTENT_NOT_STARTED, /* 55 */
|
||||
XML_ERR_ELEMCONTENT_NOT_STARTED, /* 54 */
|
||||
XML_ERR_ELEMCONTENT_NOT_FINISHED,
|
||||
|
||||
XML_ERR_XMLDECL_NOT_STARTED, /* 57 */
|
||||
XML_ERR_XMLDECL_NOT_STARTED, /* 56 */
|
||||
XML_ERR_XMLDECL_NOT_FINISHED,
|
||||
|
||||
XML_ERR_CONDSEC_NOT_STARTED, /* 59 */
|
||||
XML_ERR_CONDSEC_NOT_STARTED, /* 58 */
|
||||
XML_ERR_CONDSEC_NOT_FINISHED,
|
||||
|
||||
XML_ERR_EXT_SUBSET_NOT_FINISHED, /* 61 */
|
||||
XML_ERR_EXT_SUBSET_NOT_FINISHED, /* 60 */
|
||||
|
||||
XML_ERR_DOCTYPE_NOT_FINISHED, /* 62 */
|
||||
XML_ERR_DOCTYPE_NOT_FINISHED, /* 61 */
|
||||
|
||||
XML_ERR_MISPLACED_CDATA_END, /* 63 */
|
||||
XML_ERR_MISPLACED_CDATA_END, /* 62 */
|
||||
XML_ERR_CDATA_NOT_FINISHED,
|
||||
|
||||
XML_ERR_RESERVED_XML_NAME, /* 65 */
|
||||
XML_ERR_RESERVED_XML_NAME, /* 64 */
|
||||
|
||||
XML_ERR_SPACE_REQUIRED, /* 66 */
|
||||
XML_ERR_SPACE_REQUIRED, /* 65 */
|
||||
XML_ERR_SEPARATOR_REQUIRED,
|
||||
XML_ERR_NMTOKEN_REQUIRED,
|
||||
XML_ERR_NAME_REQUIRED,
|
||||
@ -109,26 +109,26 @@ typedef enum {
|
||||
XML_ERR_LTSLASH_REQUIRED,
|
||||
XML_ERR_EQUAL_REQUIRED,
|
||||
|
||||
XML_ERR_TAG_NAME_MISMATCH, /* 77 */
|
||||
XML_ERR_TAG_NAME_MISMATCH, /* 76 */
|
||||
XML_ERR_TAG_NOT_FINISHED,
|
||||
|
||||
XML_ERR_STANDALONE_VALUE, /* 79 */
|
||||
XML_ERR_STANDALONE_VALUE, /* 78 */
|
||||
|
||||
XML_ERR_ENCODING_NAME, /* 80 */
|
||||
XML_ERR_ENCODING_NAME, /* 79 */
|
||||
|
||||
XML_ERR_HYPHEN_IN_COMMENT, /* 81 */
|
||||
XML_ERR_HYPHEN_IN_COMMENT, /* 80 */
|
||||
|
||||
XML_ERR_INVALID_ENCODING, /* 82 */
|
||||
XML_ERR_INVALID_ENCODING, /* 81 */
|
||||
|
||||
XML_ERR_EXT_ENTITY_STANDALONE, /* 83 */
|
||||
XML_ERR_EXT_ENTITY_STANDALONE, /* 82 */
|
||||
|
||||
XML_ERR_CONDSEC_INVALID, /* 84 */
|
||||
XML_ERR_CONDSEC_INVALID, /* 83 */
|
||||
|
||||
XML_ERR_VALUE_REQUIRED, /* 85 */
|
||||
XML_ERR_VALUE_REQUIRED, /* 84 */
|
||||
|
||||
XML_ERR_NOT_WELL_BALANCED, /* 86 */
|
||||
XML_ERR_EXTRA_CONTENT, /* 87 */
|
||||
XML_ERR_ENTITY_CHAR_ERROR, /* 88 */
|
||||
XML_ERR_NOT_WELL_BALANCED, /* 85 */
|
||||
XML_ERR_EXTRA_CONTENT, /* 86 */
|
||||
XML_ERR_ENTITY_CHAR_ERROR, /* 87 */
|
||||
XML_ERR_ENTITY_PE_INTERNAL, /* 88 */
|
||||
XML_ERR_ENTITY_LOOP, /* 89 */
|
||||
XML_ERR_ENTITY_BOUNDARY, /* 90 */
|
||||
|
4
xmlIO.c
4
xmlIO.c
@ -157,7 +157,6 @@ xmlCleanupInputCallbacks(void)
|
||||
xmlInputCallbackTable[i].readcallback = NULL;
|
||||
xmlInputCallbackTable[i].closecallback = NULL;
|
||||
}
|
||||
xmlInputCallbackInitialized = 0;
|
||||
|
||||
xmlInputCallbackNr = 0;
|
||||
xmlInputCallbackInitialized = 0;
|
||||
@ -183,7 +182,6 @@ xmlCleanupOutputCallbacks(void)
|
||||
xmlOutputCallbackTable[i].writecallback = NULL;
|
||||
xmlOutputCallbackTable[i].closecallback = NULL;
|
||||
}
|
||||
xmlOutputCallbackInitialized = 0;
|
||||
|
||||
xmlOutputCallbackNr = 0;
|
||||
xmlOutputCallbackInitialized = 0;
|
||||
@ -1436,6 +1434,7 @@ xmlRegisterInputCallbacks(xmlInputMatchCallback matchFunc,
|
||||
xmlInputCallbackTable[xmlInputCallbackNr].opencallback = openFunc;
|
||||
xmlInputCallbackTable[xmlInputCallbackNr].readcallback = readFunc;
|
||||
xmlInputCallbackTable[xmlInputCallbackNr].closecallback = closeFunc;
|
||||
xmlInputCallbackInitialized = 1;
|
||||
return(xmlInputCallbackNr++);
|
||||
}
|
||||
|
||||
@ -1461,6 +1460,7 @@ xmlRegisterOutputCallbacks(xmlOutputMatchCallback matchFunc,
|
||||
xmlOutputCallbackTable[xmlOutputCallbackNr].opencallback = openFunc;
|
||||
xmlOutputCallbackTable[xmlOutputCallbackNr].writecallback = writeFunc;
|
||||
xmlOutputCallbackTable[xmlOutputCallbackNr].closecallback = closeFunc;
|
||||
xmlOutputCallbackInitialized = 1;
|
||||
return(xmlOutputCallbackNr++);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user