Subset implementation of XML stream events