XCOMMONS-480: Attributes are lost when converting StAX events to SAX events