parse event handler, Event-Driven parsing