path: compile and query path '$' to retrieve root node
Handle invalid path: invalid first character