parser: avoiding overly aggressive validation