MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlSAX2InitHtmlDefaultSAXHandler

Function xmlSAX2InitHtmlDefaultSAXHandler

ThirdParty/libxml2/vtklibxml2/SAX2.c:2742–2777  ·  view source on GitHub ↗

* xmlSAX2InitHtmlDefaultSAXHandler: * @hdlr: the SAX handler * * Initialize the default HTML SAX2 handler */

Source from the content-addressed store, hash-verified

2740 * Initialize the default HTML SAX2 handler
2741 */
2742void
2743xmlSAX2InitHtmlDefaultSAXHandler(xmlSAXHandler *hdlr)
2744{
2745 if ((hdlr == NULL) || (hdlr->initialized != 0))
2746 return;
2747
2748 hdlr->internalSubset = xmlSAX2InternalSubset;
2749 hdlr->externalSubset = NULL;
2750 hdlr->isStandalone = NULL;
2751 hdlr->hasInternalSubset = NULL;
2752 hdlr->hasExternalSubset = NULL;
2753 hdlr->resolveEntity = NULL;
2754 hdlr->getEntity = xmlSAX2GetEntity;
2755 hdlr->getParameterEntity = NULL;
2756 hdlr->entityDecl = NULL;
2757 hdlr->attributeDecl = NULL;
2758 hdlr->elementDecl = NULL;
2759 hdlr->notationDecl = NULL;
2760 hdlr->unparsedEntityDecl = NULL;
2761 hdlr->setDocumentLocator = xmlSAX2SetDocumentLocator;
2762 hdlr->startDocument = xmlSAX2StartDocument;
2763 hdlr->endDocument = xmlSAX2EndDocument;
2764 hdlr->startElement = xmlSAX2StartElement;
2765 hdlr->endElement = xmlSAX2EndElement;
2766 hdlr->reference = NULL;
2767 hdlr->characters = xmlSAX2Characters;
2768 hdlr->cdataBlock = xmlSAX2CDataBlock;
2769 hdlr->ignorableWhitespace = xmlSAX2IgnorableWhitespace;
2770 hdlr->processingInstruction = xmlSAX2ProcessingInstruction;
2771 hdlr->comment = xmlSAX2Comment;
2772 hdlr->warning = xmlParserWarning;
2773 hdlr->error = xmlParserError;
2774 hdlr->fatalError = xmlParserError;
2775
2776 hdlr->initialized = 1;
2777}
2778
2779/**
2780 * htmlDefaultSAXHandlerInit:

Callers 2

htmlInitParserCtxtFunction · 0.85
pushBoundaryTestFunction · 0.85

Calls

no outgoing calls

Tested by 1

pushBoundaryTestFunction · 0.68