How to handle self closed tags in xml parsing

If I use logstash to parse XML with an self-closing tag (e.g. <foo />), it turns it into an empty object instead of an empty string.
And its not creating any index in elastic search.

I am suspecting because column 1 values are not matching wit column 2 values.

Please help me how can we handle this

Thanks in Advance..........................

No one facing this issue when using XPATH