mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-06 05:34:59 +00:00
Make it parse without XML_DTD.
This commit is contained in:
parent
5bff01f98f
commit
0c6d9d601b
1 changed files with 2 additions and 0 deletions
|
@ -2624,7 +2624,9 @@ doProlog(XML_Parser parser,
|
|||
case XML_TOK_PARAM_ENTITY_REF:
|
||||
break;
|
||||
default:
|
||||
#ifdef XML_DTD
|
||||
if (role != XML_ROLE_IGNORE_SECT)
|
||||
#endif /* XML_DTD */
|
||||
reportDefault(parser, enc, s, next);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue