Difference between validating and non validating parser