mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-05 05:05:00 +00:00
Allow PIs in the prolog.
This commit is contained in:
parent
9501138aae
commit
0ea9bf349b
1 changed files with 1 additions and 0 deletions
|
@ -175,6 +175,7 @@ int skipProlog(const char **startp, const char *end,
|
|||
case XML_TOK_PROLOG_S:
|
||||
case XML_TOK_LITERAL:
|
||||
case XML_TOK_COMMENT:
|
||||
case XML_TOK_PI:
|
||||
break;
|
||||
default:
|
||||
if (!*doctypeP) {
|
||||
|
|
Loading…
Add table
Reference in a new issue