Why? They're semantically equivalent. All standard libraries will likely use the short form.
posted 10 years ago
I agree they are semantically equivalent.
But in our case, the input xml files given by the clients for translations. We translate the node content and write back the xml file using DOM. In this process the empty nodes are replaced as <tag/>.
So when the clients view the xmls they see the difference, the way these tags are written back.
Is there way we can override this property to expand the empty nodes/tag.