Properly hooking up for sax parser errors