From: Clark C . E. <cc...@cl...> - 2002-04-06 16:28:13
|
On Fri, Apr 05, 2002 at 07:56:38PM -0800, Neil Watkiss wrote: | I use YAML a lot at work, and the only (real) complaint I have is that the | YAML spec didn't make it a requirement for the #YAML:xxx tag to change with | each release of the spec, before we settle down to an approved 1.0 status. Yes, this has been a problem. My apologies. I think we are very close to a final version, do we want to call it 1.1? | When we declare the spec frozen (really frozen) we should endorse | a version number. | Let's be fair: XML is pretty as long as you _make_ it so. Unfortunately, pretty printing is not simple in XML. These two documents below have a very different DOM representation <root><hello>world!</hello></root> and <root> <hello>world!</hello> </root> The latter has introduced two additional text nodes and thus root has 3 children instead of one. This is why the "machine produced" XML always looks awful. If it pretty-printed the XML, it would be changing the DOM structure of the document. | Leading me to my belief that XML is really a binary protocol. If you can't | read it, it isn't text. (I can't wait for YAML-RPC to take off. A colleague | of mine showed me an example of it working, but there are only two clients in | the world :) ;) Clark |