Update explanation

Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
This commit is contained in:
Ervin Hegedus 2025-04-27 20:23:02 +02:00 committed by GitHub
parent 0fcd257fc4
commit bbe7eda693
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,7 @@ class MSCSAXHandler {
exit(1); exit(1);
} */ } */
// if it's not the first (root) item, then append a '.' // if it's not the first (root) item, then append a '.'
// note, this can't occur because there is always a pseudo root element: 'xml' // note, the condition should always be true because there is always a pseudo root element: 'xml'
if (xml_data->nodes.size() > 1) { if (xml_data->nodes.size() > 1) {
xml_data->currpath.append("."); xml_data->currpath.append(".");
xml_data->nodes[xml_data->nodes.size()-1]->has_child = true; xml_data->nodes[xml_data->nodes.size()-1]->has_child = true;