woof parser which also reports position and error messages for some invalid input