Implement number error tests for SAX handler.