Allow PIs in the prolog.
This commit is contained in:
parent
9501138aae
commit
0ea9bf349b
@ -175,6 +175,7 @@ int skipProlog(const char **startp, const char *end,
|
|||||||
case XML_TOK_PROLOG_S:
|
case XML_TOK_PROLOG_S:
|
||||||
case XML_TOK_LITERAL:
|
case XML_TOK_LITERAL:
|
||||||
case XML_TOK_COMMENT:
|
case XML_TOK_COMMENT:
|
||||||
|
case XML_TOK_PI:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (!*doctypeP) {
|
if (!*doctypeP) {
|
||||||
|
Loading…
Reference in New Issue
Block a user