* BUG: XmlReader now correctly raises the Element state.

git-svn-id: svn://localhost/gambas/trunk@4860 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Adrien Prokopowicz 2012-06-25 17:54:35 +00:00
parent d3dfb74567
commit acab57079d

View file

@ -164,6 +164,7 @@ int Reader::ReadChar(char car)
curNode->toElement()->setAttribute(attrName, lenAttrName, "", 0);
FREE(attrName); lenAttrName = 0; inAttrName = false; inAttr = false;
}
this->state = NODE_ELEMENT;
return NODE_ELEMENT;
}
else if(isWhiteSpace(car) && inTag && inTagName && !inComment)// Fin de tagName