Abandoned

Since infogami has been abandoned by its creators, I’m out too. Back to web.fisher.cx for me. Everything that was here is there.

Robert Fisher

Just thinking out loud

On XML

If you register and log in you can add comments to my pages. If viewing the main blog page, click the # underneath an entry to comment on it.

For what it does, XML is:

  • Too hard for programs to parse efficiently
  • Too hard for humans to read & write efficiently
  • Could use types

While XML certainly makes some improvements on SGML, an XML parser is still not the cakewalk it could've been.

While XML is plain text that can be read & written by humans, it is needlessly verbose. Plus, the tags tend to blend in with the content obscuring both the structure & the content.

While storing/transporting data in plain text is usually a good thing, it is often still good to have a notion of types.


SGML & XML are markup languages. They make sense when used for markup. They do not make sense for encoding data.


Alternatives?

  • CSV (the standard version, not Microsoft's)
  • S-expressions
  • JSON