Lines Matching refs:root
47 rootArray.forEach((root, index) => {
48 if(root.tagName !== 'element') {
84 * Check if the root node is legal.
94 rootArray.forEach(root => {
95 if (root.nodeName !== 'element') {
97 } else if (root.attrs && root.attrs.length) {
98 for (let index = 0; index < root.attrs.length; index++) {
99 const element = root.attrs[index];
111 reason: 'ERROR: need a legal root node',
118 reason: 'ERROR: there can only be one root node',