Fix some typos in sax parser.
Fixed mystery bug in sax parser. Last good commit before refactoring sax parser for speed is a4ac86e.