The validateSiblingsNamespaceOrder can panic upon invalid inputs, non-namespaced nodes. While this is used internally, if not used carefully, it may result in panic.
Acceptance Criteria
Validate the nodes format at the begining of the function and return error for invalid nodes.
Problem
The validateSiblingsNamespaceOrder can panic upon invalid inputs, non-namespaced nodes. While this is used internally, if not used carefully, it may result in panic.
Acceptance Criteria
Validate the nodes format at the begining of the function and return error for invalid nodes.