summaryrefslogtreecommitdiff
path: root/SAX.c
diff options
context:
space:
mode:
Diffstat (limited to 'SAX.c')
-rw-r--r--SAX.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/SAX.c b/SAX.c
index 6e3cba1f..1b3f1f50 100644
--- a/SAX.c
+++ b/SAX.c
@@ -661,18 +661,6 @@ unparsedEntityDecl(void *ctx, const xmlChar *name,
"SAX.unparsedEntityDecl(%s, %s, %s, %s)\n",
name, publicId, systemId, notationName);
#endif
-#if 0
- Done in xmlValidateDtdFinal now.
- if (ctxt->validate && ctxt->wellFormed && ctxt->myDoc) {
- int ret;
- ret = xmlValidateNotationUse(&ctxt->vctxt, ctxt->myDoc,
- notationName);
- if (ret == 0) {
- ctxt->wellFormed = 0;
- ctxt->valid = 0;
- }
- }
-#endif
if (ctxt->inSubset == 1) {
ent = xmlAddDocEntity(ctxt->myDoc, name,
XML_EXTERNAL_GENERAL_UNPARSED_ENTITY,