Fixed enum string parsing bug that would ignore parsing additional fields in a component after it encountered the first enum.

This commit is contained in:
2016-01-21 12:24:08 +01:00
parent f1345419b6
commit 0183e1bdb7
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ void EntityFileSAXHandler::endElement(const XMLCh* const _uri, const XMLCh* cons
//}
}
if (m_StateStack.top() == State::ComponentField) {
if (m_StateStack.top() == State::ComponentField && name == m_CurrentField) {
m_StateStack.pop();
onEndComponentField(name);
return;