More strict parsing, better error detection and reporting during parsing