Toponaming: Fix save and restore of elementmaps
This commit is contained in:
@@ -264,7 +264,7 @@ bool Base::XMLReader::isEndOfDocument() const
|
||||
void Base::XMLReader::readEndElement(const char* ElementName, int level)
|
||||
{
|
||||
// if we are already at the end of the current element
|
||||
if (ReadType == EndElement && ElementName && LocalName == ElementName
|
||||
if ( (ReadType == EndElement || ReadType == StartEndElement) && ElementName && LocalName == ElementName
|
||||
&& (level < 0 || level == Level)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user