added error message to incomplete

and added the incomplete element to the result (in case of an incomplete
parse).