Add support for XML stream start/end in xml_size