Skip to content
Snippets Groups Projects
Commit cf8021da authored by Jens Georg's avatar Jens Georg
Browse files

Fix parser error message when using wrong tag in arrays

parent 26ea199d
No related branches found
No related tags found
No related merge requests found
......@@ -214,7 +214,7 @@ namespace ChimeraTK {
const xmlpp::Element* valueElement = dynamic_cast<const xmlpp::Element*>(valueChild);
if(!valueElement) continue; // ignore comments etc.
if(valueElement->get_name() != "value") {
parsingError("Expected 'value' tag instead of: " + root->get_name());
parsingError("Expected 'value' tag instead of: " + valueElement->get_name());
}
valueFound = true;
auto index = valueElement->get_attribute("i");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment