Allow PIs in the prolog.

This commit is contained in:
James Clark 1997-11-13 09:25:49 +00:00
parent 9501138aae
commit 0ea9bf349b

View File

@ -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) {