Added option to pass strict flag to sax