* BUG: There are only name-chars in XmlReader element's tags.

git-svn-id: svn://localhost/gambas/trunk@4868 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Adrien Prokopowicz 2012-06-28 18:25:57 +00:00
parent f9d8a9c990
commit e6fb654a59

View file

@ -406,6 +406,7 @@ int Reader::ReadChar(char car)
}
else if(curNode->isElement() && inTag && !inAttr)//Si on est dans le tag d'un élément
{
if(!isNameChar(car)) return;
char *&textContent = curNode->toElement()->tagName;
size_t &lenTextContent = curNode->toElement()->lenTagName;
textContent = (char*)realloc(textContent, lenTextContent + 1);