Schema-based Scheduling of Event Processors and Buffer Minimization for Queries on Structured Data Streams