Menu

#18 end tag converted

v1.0 (example)
open
nobody
5
2015-11-05
2015-11-05
No

I copied the below xml into a new window:

<DisbursementSources type="collection" importStrategy="updateCreateNewIfNotFound" size="1" name="disbursementSources"></DisbursementSources>

This is well formed xml. If I select Pretty Print (xml only – with line breaks) I get this:

<DisbursementSources type="collection" importStrategy="updateCreateNewIfNotFound" size="1" name="disbursementSources"/>

The plugin took it upon itself to remove the empty end tag (</DisbursementSources>) and update the tag by adding a slash. Both versions are correct. However, the plugin decided the empty tag should no longer exist. Entirely misleading in my opinion!

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.