Commit 41ac9049 authored by Daniel Veillard's avatar Daniel Veillard

Fix an error in previous Conditional section patch

an off by one mistake in the change, led to error on correct
document where the end of the included entity was exactly
the end of the conditional section, leading to regtest failure
parent 73c50805
......@@ -6916,7 +6916,7 @@ xmlParseConditionalSections(xmlParserCtxtPtr ctxt) {
NULL, NULL);
}
if ((ctxt-> instate != XML_PARSER_EOF) &&
((ctxt->input->cur + 3) < ctxt->input->end))
((ctxt->input->cur + 3) <= ctxt->input->end))
SKIP(3);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment