This example causes the expat library to turn off entity expansion.
Looking at the c code there is an odd section that this causes to run.
void XMLCALL XML_SetDefaultHandler(XML_Parser parser, XML_DefaultHandler handler) { defaultHandler = handler; defaultExpandInternalEntities = XML_FALSE; }
Basically be setting the default handler to anything it will cause expansion to stop. Normal xml documents seem to flow through just fine.
This example causes the expat library to turn off entity expansion.
Looking at the c code there is an odd section that this causes to run.
void XMLCALL andler( XML_Parser parser,
XML_DefaultHan dler handler) InternalEntitie s = XML_FALSE;
XML_SetDefaultH
{
defaultHandler = handler;
defaultExpand
}
Basically be setting the default handler to anything it will cause expansion to stop.
Normal xml documents seem to flow through just fine.