Merge "BUG-1718 Fix hasAttributes method in XmlStreamUtils"