Commit 3901e81e authored by Mike's avatar Mike

TEXT to TINYXML_TEXT

parent 2f746df8
......@@ -967,7 +967,7 @@ namespace Nektar
std::string elementStr;
while(elementChild)
{
if (elementChild->Type() == TiXmlNode::TEXT)
if (elementChild->Type() == TiXmlNode::TINYXML_TEXT)
{
elementStr += elementChild->ToText()->ValueStr();
}
......
......@@ -1879,7 +1879,7 @@ namespace Nektar
tagcontent << *parameter;
TiXmlNode *node = parameter->FirstChild();
while (node && node->Type() != TiXmlNode::TEXT)
while (node && node->Type() != TiXmlNode::TINYXML_TEXT)
{
node = node->NextSibling();
}
......@@ -2253,7 +2253,7 @@ namespace Nektar
// Comments appear as nodes just like elements. We are
// specifically looking for text in the body of the
// definition.
while(varChild && varChild->Type() != TiXmlNode::TEXT)
while(varChild && varChild->Type() != TiXmlNode::TINYXML_TEXT)
{
varChild = varChild->NextSibling();
}
......
......@@ -108,7 +108,7 @@ namespace Nektar
// Comments appear as nodes just like elements.
// We are specifically looking for text in the body
// of the definition.
while(boundaryRegionChild && boundaryRegionChild->Type() != TiXmlNode::TEXT)
while(boundaryRegionChild && boundaryRegionChild->Type() != TiXmlNode::TINYXML_TEXT)
{
boundaryRegionChild = boundaryRegionChild->NextSibling();
}
......
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