ERROR Error on line 1 char 6: Element “foo” was closed, no element is currently open