mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-05 21:24:59 +00:00
Fix bug with default handler and ignored marked section.
This commit is contained in:
parent
b1b875e78e
commit
75ccce3db8
1 changed files with 2 additions and 1 deletions
|
@ -2598,7 +2598,8 @@ doProlog(XML_Parser parser,
|
|||
case XML_TOK_PARAM_ENTITY_REF:
|
||||
break;
|
||||
default:
|
||||
reportDefault(parser, enc, s, next);
|
||||
if (role != XML_ROLE_IGNORE_SECT)
|
||||
reportDefault(parser, enc, s, next);
|
||||
}
|
||||
}
|
||||
s = next;
|
||||
|
|
Loading…
Add table
Reference in a new issue