<?xml version='1.0' encoding='utf-8' standalone='yes'?>
<?xml-stylesheet type='text/xsl' href='/style/atom-comments.xsl'?>
<feed xmlns='http://www.w3.org/2005/Atom'>
<title>norman.walsh.name: Comments on /2008/05/13/thetax</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2008/05/13/thetax'/>
<id>http://norman.walsh.name/2008/05/13/thetax/comments.atom</id>
<updated>2008-07-11T18:39:06Z</updated>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 1 on /2008/05/13/thetax</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2008/05/13/thetax#comment0001'/>
<id>http://norman.walsh.name/2008/05/13/thetax#comment0001</id>
<published>2008-05-13T21:02:57Z</published>
<updated>2008-05-13T21:02:57Z</updated>
<author>
  <name>Lars Marius Garshol</name>
  <foaf:mbox_sha1sum>a598db95e98e4c9e88d0b5f6741106df16ef139b</foaf:mbox_sha1sum>
  <uri>http://www.garshol.priv.no/blog/</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>I think James Clark got this one right: "Any damn fool could produce a better data format than XML." The value of XML lies in that everyone agrees on it, and in what the tools do for you, not in its technical excellence or beauty.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 2 on /2008/05/13/thetax</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2008/05/13/thetax#comment0002'/>
<id>http://norman.walsh.name/2008/05/13/thetax#comment0002</id>
<published>2008-05-14T09:07:25Z</published>
<updated>2008-05-14T09:07:25Z</updated>
<author>
  <name>Adrian Mouat</name>
  <foaf:mbox_sha1sum>a921809f6f5080c80f2726ec4dedd2c98ae599fb</foaf:mbox_sha1sum>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>Another common complaint is that XML is hard to read or time consuming to author.
</p><p>
I wonder if this criticism would go away if there were better default tools for dealing with XML. Currently, most people - whether they are beginners or advanced - use text editors to deal with XML. 
</p><p>
One of the reasons this is difficult is that you typically need different things from your editor for different dialects, for example whitespace may be important in one but not another.
</p><p>
Anyway, I still typically use a text editor to write XML, although I may choose to view it in something else, so all this is pure speculation.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 3 on /2008/05/13/thetax</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2008/05/13/thetax#comment0003'/>
<id>http://norman.walsh.name/2008/05/13/thetax#comment0003</id>
<published>2008-05-14T13:14:35Z</published>
<updated>2008-05-14T13:14:35Z</updated>
<author>
  <name>Alastair Rankine</name>
  <foaf:mbox_sha1sum>ab8e83866804cf368ae1e47dae7a0c7af2065f7e</foaf:mbox_sha1sum>
  <uri>http://girtby.net</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>Thanks Norm for the excellent rebuttal.
</p><p>
The only thing I would add is that Atwood's comparison with RFC-822 was particularly unfortunate, obviously he has never seen any of the <a rel='nofollow' href="http://www.regular-expressions.info/email.html">hilariously complex</a> regexes needed to find dates or email addresses. XML is a clear win here IMHO.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 4 on /2008/05/13/thetax</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2008/05/13/thetax#comment0004'/>
<id>http://norman.walsh.name/2008/05/13/thetax#comment0004</id>
<published>2008-05-14T13:45:02Z</published>
<updated>2008-05-14T13:45:02Z</updated>
<author>
  <name>len</name>
  <foaf:mbox_sha1sum>926ab36431f37f9ec2a15648e995608bb9db5ba1</foaf:mbox_sha1sum>
  <uri>http://3donthewebcheap.blogspot.com</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>Most complaints I am aware of are in the tools and in the impedance mismatches.
</p><p>
1.  Try shoehorning even a moderately complex XML schema into a relational database or vice versa if one wasn't designed for the other.
</p><p>
2.  Tools intended to ease the development like the use of annotations in SQL Server don't unless item one was considered.  It's just ugly.  
</p><p>
3.  Simple ideas like VRML97 scene graphs created ugly XML schemas because of the object-has-an-object attributes-can't-have-elements mismatch. 
</p><p>
In short, mapping into and out of the tree is doable but painful and the shortcomings are often attributed to XML instead of the application languages that were shoehorned into XML Schema or XML itself.  But we've been shoehorning since the beginning of the HTML-endowed Internet.  A lot is learned that way but some devolution occurs.  No size fits all comfortably for some.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 5 on /2008/05/13/thetax</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2008/05/13/thetax#comment0005'/>
<id>http://norman.walsh.name/2008/05/13/thetax#comment0005</id>
<published>2008-05-14T13:56:32Z</published>
<updated>2008-05-14T13:56:32Z</updated>
<author>
  <name>Jean-Jacques Dubray</name>
  <foaf:mbox_sha1sum>ae5c7e2a4c72a8efaf55ccce153516dc53039f15</foaf:mbox_sha1sum>
  <uri>http://www.ebpml.org/ebpml_radio.htm</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml">Norm:

<p>I would emphasize a couple more points:</p>
<p>-extensibility</p>
<p>-relative access</p> 

<p>How often can you freely extend a data structure without generally breaking existing consumers of this data structure?</p>

<p>How often do you get a relative access to a particular element of information without the need to understand the entire data structure?</p>

<p>When you combine that with all the benefits you listed, I see a compelling reason to deal with minor syntax or tooling annoyances.</p>

<p>P.S.: it is really annoying to mark up a comment to make it look ok...</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 6 on /2008/05/13/thetax</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2008/05/13/thetax#comment0006'/>
<id>http://norman.walsh.name/2008/05/13/thetax#comment0006</id>
<published>2008-05-14T17:54:32Z</published>
<updated>2008-05-14T17:54:32Z</updated>
<author>
  <name>Michael(tm) Smith</name>
  <foaf:mbox_sha1sum>dc36d658320e227bd3f7af16d23c7db63da5ba3c</foaf:mbox_sha1sum>
  <uri>http://people.w3.org/mike/</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>Hi Norm,
</p><p>
My comment is completely tangential/irrelvant to this particular post as a whole, but as far as the " On the other hand, it's pretty obvious that XML _is actually better_." hyperlink:
</p><p>
I personally think it might be really nice if that particular link didn't send me to a page that had a big blank space with a note saying "If you had Flash installed you'd see a nice graph here".
</p><p>
Hoping you might be able to do something to change that.
</p><p>
  --Mike</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 7 on /2008/05/13/thetax</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2008/05/13/thetax#comment0007'/>
<id>http://norman.walsh.name/2008/05/13/thetax#comment0007</id>
<published>2008-05-14T23:09:27Z</published>
<updated>2008-05-14T23:09:27Z</updated>
<author>
  <name>zappini</name>
  <foaf:mbox_sha1sum>978e59b7f546943cfa8369f294d748c5111eb534</foaf:mbox_sha1sum>
  <uri>http://zappini.blogspot.com</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>The difference is large enough to piss me off.
</p><p>
Imagine you're using XML for a properties (key/value) file, say for configuration.
</p><p>
You <i>wouldn't</i> write unit tests for that? Interesting. Personally, I'd trust a XML tool-chain about as far as I can spit.
</p><p>
Rusty Harold Elliot, some time back, gave the example of borking apache's configuration file. Whitespace in the wrong place or something. That unfortunate design choice was a justification for using XML.
</p><p>
The correct answer, then, now, in the future, is to write your own grammar. For a typical configuration properties files, it'd be pretty straightforward.
</p><p>
To anyone who believes such an exercise is too hard: Yet you're willing to write an XSD, DTD, or RELAX-NG? Please. (Sidebar: My VRML97 grammar implementation was smaller, quicker, and more correct than any XML-based "solution".)
</p><p>
In review, for the back of the class, please pay attention: 
</p><p>
If your answer is XML, you asked the wrong question.
</p><p>
Cheers, Jason Osgood / Seattle WA</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 8 on /2008/05/13/thetax</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2008/05/13/thetax#comment0008'/>
<id>http://norman.walsh.name/2008/05/13/thetax#comment0008</id>
<published>2008-05-15T19:35:06Z</published>
<updated>2008-05-15T19:35:06Z</updated>
<author>
  <name>James Orenchak</name>
  <foaf:mbox_sha1sum>5b16d0ff22b72a5d40914f5a0cb6b51ff5302808</foaf:mbox_sha1sum>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>Norm,
</p><p>
Thanks for the thoughts about the values of XML.
</p><p>
I work in the financial industry. I have seen XML used several times resulting in global applications that easily exchange data between multiple countries or multiple financial institutions. The few extra characters required by XML compared to a flat text file are nothing compared to the advantages of using XML. The advantages include not having to argue about which format to use, like in the old days before XML, and the availability of validation. The advantages of using XML include each party being able to use the tools they prefer to manipulate the data, not like in the old days when use of proprietary formats resulted in all parties being forced to use the only available tools for processing that format. Yet another advantage of XML is not having to worry about parsing files with extra blanks or using characters from languages that you never expected to see, like in the old days.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 9 on /2008/05/13/thetax</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2008/05/13/thetax#comment0009'/>
<id>http://norman.walsh.name/2008/05/13/thetax#comment0009</id>
<published>2008-05-16T12:18:16Z</published>
<updated>2008-05-16T12:18:16Z</updated>
<author>
  <name>Mark</name>
  <foaf:mbox_sha1sum>e5e82236e46a5d1a8da0ac967037d521c6bc34dd</foaf:mbox_sha1sum>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>Rolling your own is for those with no imagination or foresight.  Some people cannot imagine that data or information has any value other than in the particular context of a single task.  XML is all about capturing data and information in ways that perserve value for unknown uses.  Not only is XML extensible, but XSLT allows reformating from a particular vocabulary to another.  That this is always perfect, but there are rules and tools and organizations to support it worldwide. IT should not be about making the programmer's task easier at any point (as many seem to think), but about giving the most utility to the data or information now and in the future.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 10 on /2008/05/13/thetax</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2008/05/13/thetax#comment0010'/>
<id>http://norman.walsh.name/2008/05/13/thetax#comment0010</id>
<published>2008-05-18T19:00:47Z</published>
<updated>2008-05-18T19:00:47Z</updated>
<author>
  <name>Kurt Cagle</name>
  <foaf:mbox_sha1sum>22d5c83fa4a56a4e43dff4dff2319e63752ef7dd</foaf:mbox_sha1sum>
  <uri>http://www.xml.com</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>Jason,
</p><p>
XML obviously doesn't work for you. However, consider the following - VRML does have an XML equivalent called X3D which is gaining adherents precisely because it can be validated without writing your own grammar, because it can be generated from external content in other contexts, and because it is possible, once loaded, to modify the X3D content in a consistent manner without requiring a specialized API.
</p><p>
Writing a grammar is not hard. Writing a grammar + parser + documentation + distributing it to everyone who uses it is much harder. I've worked with configuration and INI files on many different operating systems over a thirty year span. 
</p><p>
I've discovered what happens if you edit many of these text files in a text editor without a way of validating - you can quite readily end up doing things as diverse as royally screwing up your operating system, make it impossible for your video driver to actually render content to the screen, cause mechanical malfunctions and so forth, often times by doing something as simple as forgetting a tab or using the wrong number of spaces.
</p><p>
I've also spent hundreds of hours over the years trying to figure out cryptic man files that existed as the only documentation for a given command trying to figure what exactly the grammar being used actually was.
</p><p>
You're free to use whatever format you so choose - but I'd rather take the slight verbosity of XML over a poorly written and deficient configuration grammar anytime.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 11 on /2008/05/13/thetax</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2008/05/13/thetax#comment0011'/>
<id>http://norman.walsh.name/2008/05/13/thetax#comment0011</id>
<published>2008-05-22T23:17:40Z</published>
<updated>2008-05-22T23:17:40Z</updated>
<author>
  <name>engtech</name>
  <foaf:mbox_sha1sum>4b276801ab2c010f275a77c79673c4edaa7c6b2b</foaf:mbox_sha1sum>
  <uri>http://InternetDuctTape.com</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>I'm just wondering what the argument is in favour of XML vs YAML?
</p><p>
I switched to YAML a few years ago and it got of a ridiculous number of XML caused headaches.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 12 on /2008/05/13/thetax</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2008/05/13/thetax#comment0012'/>
<id>http://norman.walsh.name/2008/05/13/thetax#comment0012</id>
<published>2008-05-23T15:58:02Z</published>
<updated>2008-05-23T15:58:02Z</updated>
<author>
  <name>Jake Voytko</name>
  <foaf:mbox_sha1sum>23549aac82418385168442c4b0770436e42b28fb</foaf:mbox_sha1sum>
  <uri>http://www.jakevoytko.com/blog/</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>1. Lisp is a better answer than XML. Lisp allows you to store data in exactly the same manner as XML. You still get the parsing for free, but you can also manipulate it to your heart's content.
</p><p>
2. Yes. Unequivocally.
</p><p>
3. Probably not :P
</p><p>
4. One syntax for data AND programming seems pretty easy to me.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 13 on /2008/05/13/thetax</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2008/05/13/thetax#comment0013'/>
<id>http://norman.walsh.name/2008/05/13/thetax#comment0013</id>
<published>2008-05-23T16:40:18Z</published>
<updated>2008-05-23T16:40:18Z</updated>
<author>
  <name>John Hanratty</name>
  <foaf:mbox_sha1sum>2b7547e79123fc143720e54eda5b25088204f19d</foaf:mbox_sha1sum>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>Re. Lars Marius' quote from James Clarke "Any damn fool could produce a better data format than XML", I really ought to know better than to second-guess James's intention, but I read that as "If we'd wanted to invent a data format, we wouldn't have invented XML".
</p><p>
I read Jeff Atwood's article too, and it's just the same old, same old. I'm not a programmer, I'm a publisher, and for me XML is nothing short of revolutionary, because of what it has enabled: the separation of form from content; self-describing documents; human readability; easy extensibility. 
</p><p>
Can someone please explain to computer programmers that XML was not created to make their lives easier, and that it is a text format, not a programming language (at least in its narrower sense). So to Jason and his pals, I say stop whining: it was tedious five years ago, when there was still a debate. "My VRML97 grammar implementation was smaller, quicker, and more correct than any XML-based "solution"". Well, I bow before your godlike genius, but don't ever ask me for a job: I like my staff to live within commuting distance of Planet Earth.
</p><p>
If you want to compare XML with something, a comparison with RTF might be instructive:
</p><p>
Try loading a single RTF file into the last 3 major releases of Microsoft Word (let alone WordPerfect) and see what you get.
<br></br>
Try writing an RTF document in NotePad.
<br></br>
Try re-purposing an RTF document
<br></br>
Try stripping the formatting from an RTF document.
<br></br>
</p><p>
Then there is the document quality angle. I've written and distributed dozens of Word templates over the years, some of which have done some quite fancy stuff. When I got the documents back, authors had typically ignored the toolbar button I had created for applying a Heading 1 style with a single click, and instead labouriously manually formatted and aligned a paragraph of "Normal" text, because they "didn't like the way the other heading looked". So I end up with a 50 page document, every paragraph of which is styled Normal, which I'm supposed to auto-convert to a DTP file.
</p><p>
XML prevents that sort of abuse, enforces regular document structure, and embeds meaningful metadata/semantics into documents in a largely unobtrusive way. In doing so, it moved the re-use and re-purposing of content from fantasy island to reality city. That's a galactically big achievement in my book.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 14 on /2008/05/13/thetax</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2008/05/13/thetax#comment0014'/>
<id>http://norman.walsh.name/2008/05/13/thetax#comment0014</id>
<published>2008-06-02T02:29:03Z</published>
<updated>2008-06-02T02:29:03Z</updated>
<author>
  <name>Jim Birch</name>
  <foaf:mbox_sha1sum>ebbbaf63fb283c2fece774b4f56d57139710343d</foaf:mbox_sha1sum>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>xml is designed to be (unequivocally) machine readable, and it does a pretty good job at that.  Maybe some of of it's critics are young or have short memories but I can certainly remember spending way too long going nearly crazy trying to decode idiosyncratic data files, and, also, trying to invent data formats that wouldn't do the same to others.
</p><p>
If xml isn't easy to follow, maybe we need some better viewers and editors, both generic and purpose-built.  I don't know if there's a spec for this already, but you could potentially have a "xlv" viewer spec - like the xls content spec - that specifies good human views "hints" for an xml data scheme: styles, shapes, key elements, and so on.  I can't see why anyone should really be editing xml tags - well, sometimes you've got to work at the low level - there's really got to be better ways to display and interact with data.  But the xml can and should remain the definitive statement of the data.
</p><p>
If the tree data model doesn't really work with you data, you have to either get off xml and loose it's universality and robustness, or, transform the data into it's natural shape before you even look at it.  If you're working in a dumb text editor you're up against it.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 15 on /2008/05/13/thetax</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2008/05/13/thetax#comment0015'/>
<id>http://norman.walsh.name/2008/05/13/thetax#comment0015</id>
<published>2008-07-11T18:39:06Z</published>
<updated>2008-07-11T18:39:06Z</updated>
<author>
  <name>Rob</name>
  <foaf:mbox_sha1sum>3e6e8d3036048524a4e3051f9a0a974c80bf2a56</foaf:mbox_sha1sum>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>Why no mention of binary XML? Doesn't that get rid of the angle tax?</p></div></content>
</entry>

</feed>
