diff options
Diffstat (limited to 'globals.c')
-rw-r--r-- | globals.c | 129 |
1 files changed, 72 insertions, 57 deletions
@@ -331,34 +331,38 @@ int xmlSaveNoEmptyTagsThrDef = 0; * Default handler for XML, builds the DOM tree */ xmlSAXHandler xmlDefaultSAXHandler = { - internalSubset, - isStandalone, - hasInternalSubset, - hasExternalSubset, - resolveEntity, - getEntity, - entityDecl, - notationDecl, - attributeDecl, - elementDecl, - unparsedEntityDecl, - setDocumentLocator, - startDocument, - endDocument, - startElement, - endElement, - reference, - characters, - characters, - processingInstruction, - comment, + xmlSAX2InternalSubset, + xmlSAX2IsStandalone, + xmlSAX2HasInternalSubset, + xmlSAX2HasExternalSubset, + xmlSAX2ResolveEntity, + xmlSAX2GetEntity, + xmlSAX2EntityDecl, + xmlSAX2NotationDecl, + xmlSAX2AttributeDecl, + xmlSAX2ElementDecl, + xmlSAX2UnparsedEntityDecl, + xmlSAX2SetDocumentLocator, + xmlSAX2StartDocument, + xmlSAX2EndDocument, + xmlSAX2StartElement, + xmlSAX2EndElement, + xmlSAX2Reference, + xmlSAX2Characters, + xmlSAX2Characters, + xmlSAX2ProcessingInstruction, + xmlSAX2Comment, xmlParserWarning, xmlParserError, xmlParserError, - getParameterEntity, - cdataBlock, - externalSubset, - 0 + xmlSAX2GetParameterEntity, + xmlSAX2CDataBlock, + xmlSAX2ExternalSubset, + 0, + NULL, + NULL, + NULL, + NULL }; /** @@ -368,7 +372,10 @@ xmlSAXHandler xmlDefaultSAXHandler = { * { getPublicId, getSystemId, getLineNumber, getColumnNumber} */ xmlSAXLocator xmlDefaultSAXLocator = { - getPublicId, getSystemId, getLineNumber, getColumnNumber + xmlSAX2GetPublicId, + xmlSAX2GetSystemId, + xmlSAX2GetLineNumber, + xmlSAX2GetColumnNumber }; #ifdef LIBXML_HTML_ENABLED @@ -378,34 +385,38 @@ xmlSAXLocator xmlDefaultSAXLocator = { * Default handler for HTML, builds the DOM tree */ xmlSAXHandler htmlDefaultSAXHandler = { - internalSubset, + xmlSAX2InternalSubset, NULL, NULL, NULL, NULL, - getEntity, + xmlSAX2GetEntity, NULL, NULL, NULL, NULL, NULL, - setDocumentLocator, - startDocument, - endDocument, - startElement, - endElement, + xmlSAX2SetDocumentLocator, + xmlSAX2StartDocument, + xmlSAX2EndDocument, + xmlSAX2StartElement, + xmlSAX2EndElement, NULL, - characters, - ignorableWhitespace, + xmlSAX2Characters, + xmlSAX2IgnorableWhitespace, NULL, - comment, + xmlSAX2Comment, xmlParserWarning, xmlParserError, xmlParserError, - getParameterEntity, - cdataBlock, + xmlSAX2GetParameterEntity, + xmlSAX2CDataBlock, + NULL, + 0, + NULL, NULL, - 0 + NULL, + NULL }; #endif /* LIBXML_HTML_ENABLED */ @@ -416,34 +427,38 @@ xmlSAXHandler htmlDefaultSAXHandler = { * Default handler for SGML DocBook, builds the DOM tree */ xmlSAXHandler docbDefaultSAXHandler = { - internalSubset, - isStandalone, - hasInternalSubset, - hasExternalSubset, - resolveEntity, - getEntity, - entityDecl, + xmlSAX2InternalSubset, + xmlSAX2IsStandalone, + xmlSAX2HasInternalSubset, + xmlSAX2HasExternalSubset, + xmlSAX2ResolveEntity, + xmlSAX2GetEntity, + xmlSAX2EntityDecl, NULL, NULL, NULL, NULL, - setDocumentLocator, - startDocument, - endDocument, - startElement, - endElement, - reference, - characters, - ignorableWhitespace, + xmlSAX2SetDocumentLocator, + xmlSAX2StartDocument, + xmlSAX2EndDocument, + xmlSAX2StartElement, + xmlSAX2EndElement, + xmlSAX2Reference, + xmlSAX2Characters, + xmlSAX2IgnorableWhitespace, NULL, - comment, + xmlSAX2Comment, xmlParserWarning, xmlParserError, xmlParserError, - getParameterEntity, + xmlSAX2GetParameterEntity, + NULL, + NULL, + 0, + NULL, NULL, NULL, - 0 + NULL }; #endif /* LIBXML_DOCB_ENABLED */ |