More precisely:
I use the SAX-Parser and I wrote this simple code:
xmlDocPtr doc = (xmlDocPtr)0;
xmlSAXHandler sax;
xmlSAX2InitDefaultSAXHandler (&sax, 0);
sax.startDocument = startDocumentSAXCallBackFunc;
sax.endDocument = endDocumentSAXCallBackFunc;
sax.startElementNs = startElementNsSAX2CallBackFunc;
sax.endElementNs = endElementNsSAX2CallBackFunc;
sax.characters = charactersSAXCallBackFunc;
sax.attributeDecl = attributeDeclSAXCallBackFunc;
sax.elementDecl = elementDeclSAXCallBackFunc;
sax.error = errorSAXCallBackFunc;
sax.warning = warningSAXCallBackFunc;
sax.comment = commentSAXCallBackFunc;
sax.reference = referenceSAXCallBackFunc;
sax.fatalError = fatalErrorSAXCallBackFunc;
sax.setDocumentLocator = setDocumentLocatorSAXCallBackFunc;
sax.ignorableWhitespace = ignorableWhitespaceSAXCallBackFunc;
doc = xmlSAXParseFileWithData(&sax, stpI->szFilename, 0, (void *)stpI);
….
So
How could I turn on
"...entities substitution at the parser level."
In this situation?
Babak
( +43(1)60504-2029
& +43(1)60504-3333
- babak shirazi datasystems at
: www.datasystems.at