You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This might happen if an container element that usally contains a child element links to an exting object using XLink an thus
// uses a combined start/end element: e.g.: <surfaceMember xlink:href="#..."/>
// For such elements a child parser must only be created if there is no xlink attribute.
CITYGML_LOG_ERROR(m_logger, "CityGMLElementParser::endElement called on unbound " << elementParserName() << " object for element <" << node << "> at " << getDocumentLocation());
throwstd::runtime_error("CityGMLElementParser::endElement called on unbound CityGMLElementParser object.");
}
While I understand why it's going into this condition, I'm not completely sure why it has to throw an unrecoverable error. Isn't there a different path it can take?
Or is it because xlink is not supported?
If I wanted to work on this, what is the workaround for this?
The text was updated successfully, but these errors were encountered:
I have data that contains a cityobject like:
Looks like this causes it to run
libcitygml/sources/src/parser/citygmlelementparser.cpp
Lines 36 to 42 in b71d2e8
While I understand why it's going into this condition, I'm not completely sure why it has to throw an unrecoverable error. Isn't there a different path it can take?
Or is it because
xlink
is not supported?If I wanted to work on this, what is the workaround for this?
The text was updated successfully, but these errors were encountered: