Use SAX for error parsing memory efficiency