parser xml BUGFIX error info siblings parsing
diff --git a/src/parser_xml.c b/src/parser_xml.c
index 049cce2..4e19fd8 100644
--- a/src/parser_xml.c
+++ b/src/parser_xml.c
@@ -1268,9 +1268,11 @@
         if (r == LY_ENOT) {
             assert(xmlctx->status == LYXML_ELEMENT);
 
-            /* custom elements */
-            r = lydxml_opaq_r(xmlctx, parent);
-            LY_CHECK_GOTO(r, error);
+            /* custom elements, parse all the siblings */
+            while (xmlctx->status == LYXML_ELEMENT) {
+                LY_CHECK_GOTO(r = lydxml_opaq_r(xmlctx, parent), error);
+                LY_CHECK_GOTO(r = lyxml_ctx_next(xmlctx), error);
+            }
             continue;
         }