const XML_Char *systemId,
const XML_Char *publicId);
+typedef int (*XML_InternalEntityRefHandler)(XML_Parser parser,
+ const XML_Char *context,
+ const XML_Char *name,
+ const XML_Char *text);
+
/* This structure is filled in by the XML_UnknownEncodingHandler
to provide information to the parser about encodings that are unknown
to the parser.
*/
static char RCSId[]
- = "$Header: /cvsroot/expat/expat/lib/xmlparse.c,v 1.13 2000/12/27 19:37:37 coopercc Exp $";
+ = "$Header: /cvsroot/expat/expat/lib/xmlparse.c,v 1.14 2001/01/24 19:38:54 fdrake Exp $";
#ifdef COMPILED_FROM_DSP
# include "winconfig.h"
XML_EndNamespaceDeclHandler m_endNamespaceDeclHandler;
XML_NotStandaloneHandler m_notStandaloneHandler;
XML_ExternalEntityRefHandler m_externalEntityRefHandler;
+ XML_InternalEntityRefHandler m_internalEntityRefHandler;
void *m_externalEntityRefHandlerArg;
XML_UnknownEncodingHandler m_unknownEncodingHandler;
XML_ElementDeclHandler m_elementDeclHandler;
#define notStandaloneHandler (((Parser *)parser)->m_notStandaloneHandler)
#define externalEntityRefHandler (((Parser *)parser)->m_externalEntityRefHandler)
#define externalEntityRefHandlerArg (((Parser *)parser)->m_externalEntityRefHandlerArg)
+#define internalEntityRefHandler (((Parser *)parser)->m_internalEntityRefHandler)
#define unknownEncodingHandler (((Parser *)parser)->m_unknownEncodingHandler)
#define elementDeclHandler (((Parser *)parser)->m_elementDeclHandler)
#define attlistDeclHandler (((Parser *)parser)->m_attlistDeclHandler)
notStandaloneHandler = 0;
externalEntityRefHandler = 0;
externalEntityRefHandlerArg = parser;
+ internalEntityRefHandler = 0;
unknownEncodingHandler = 0;
elementDeclHandler = 0;
attlistDeclHandler = 0;
XML_EndNamespaceDeclHandler oldEndNamespaceDeclHandler = endNamespaceDeclHandler;
XML_NotStandaloneHandler oldNotStandaloneHandler = notStandaloneHandler;
XML_ExternalEntityRefHandler oldExternalEntityRefHandler = externalEntityRefHandler;
+ XML_InternalEntityRefHandler oldInternalEntityRefHandler = internalEntityRefHandler;
XML_UnknownEncodingHandler oldUnknownEncodingHandler = unknownEncodingHandler;
XML_ElementDeclHandler oldElementDeclHandler = elementDeclHandler;
XML_AttlistDeclHandler oldAttlistDeclHandler = attlistDeclHandler;
externalEntityRefHandlerArg = parser;
}
+void XML_SetInternalEntityRefHandler(XML_Parser parser,
+ XML_InternalEntityRefHandler handler)
+{
+ internalEntityRefHandler = handler;
+}
+
void XML_SetUnknownEncodingHandler(XML_Parser parser,
XML_UnknownEncodingHandler handler,
void *data)