more error tolerant for SAX parsing errors