XML Reader fails to preserve self-closing elements.

I’ve noticed that when using the XML Reader node (or String to XML), that it changes self closing elements to empty elements. For instance

<mytag/>

becomes

<mytag>
</mytag>

Now, this isn’t normally an issue except, as in in my case, when you are writing out XML files to be consumed by a fussy third-party application, which baulks at this. Is this by design? Are there any plans to fix it?

Hi @deadlyvices -

This issue came up a few months ago in a thread linked below. Currently we don’t have any plans to address this, but I can double check with the developers again.

2 Likes

So it’s a recognised issue. Hmmm. Its a pity really because this is a showstopper from where I’m standing

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.