Monday, July 17, 2006

Making XML Smaller

In all the hand-wringing discussions about XML's verbosity that I've read over the years, I have yet to hear anyone suggest simply truncating all closing tags to </>. In other words, if you've got


why not just shorten it to


Verbose closing tags are a pure waste of space (albeit required by XML spec). Abbreviated closing tags don't make the file any less parsable. When the parser encounters </> it knows that the closure is at the nesting level of the previous opening tag. If not, the XML was not well-formed to begin with.

Verbose closing tags are just that. Unneeded verbosity.


  1. Okay, I will remember that. I appreciate your lessons. Check this career goals essay service later. It might be handy.

  2. you can get help from our affordable writing services online And improve your overall grades.

    Law Assignment Help Online


Add a comment. Registration required because trolls.