title: XML formatting conventions: Why leave a space before />?
body: <p>I’ve seen it in several places and e.g. the Eclipse XML auto-formatting does it, too: Put a space before the closing <code>/&gt;</code> of an empty element.</p>
  
  <p>Having</p>
  
  <pre><code>&lt;element attribute="value"/&gt;
  </code></pre>
  
  <p>would be re-formatted as</p>
  
  <pre><code>&lt;element attribute="value" /&gt;
  </code></pre>
  
  <p>Why would you do that? From the XML point of view it’s equivalent. Is it a convention? Is it for readability?</p>