* BUG: Fix the previous fix in r7894.


git-svn-id: svn://localhost/gambas/trunk@7895 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2016-09-05 22:39:17 +00:00
parent abb3ca308f
commit 6d7e74bad5

View file

@ -163,7 +163,9 @@ Node** parseXML(char const *data, const size_t lendata, size_t *nodeCount) throw
curElement = (Element*)(curElement->parent);
tag = (char*)memchr(pos, '>', endData - pos);//On cherche la fin du tag
if (!tag)
{
THROW(XMLParseException_New("Never-ending tag", data, lendata, pos - 1));
}
pos = tag + 1;//On avance à la fin du tag
continue;