Mark dtd as incomplete when a top-level parameter entity reference is encountered

This commit is contained in:
James Clark 1998-02-08 08:11:35 +00:00
parent 7e9d3e8571
commit 7bbe2e366d

View File

@ -1050,6 +1050,9 @@ prologProcessor(XML_Parser parser,
} }
groupConnector[prologState.level] = '|'; groupConnector[prologState.level] = '|';
break; break;
case XML_ROLE_PARAM_ENTITY_REF:
dtd.complete = 0;
break;
case XML_ROLE_NONE: case XML_ROLE_NONE:
switch (tok) { switch (tok) {
case XML_TOK_PI: case XML_TOK_PI: