Fixed a bug that XMLConverter will output corrupted array when reading XML with self-closing tags that has attributes.