From: Oren Ben-K. <or...@be...> - 2004-09-09 06:49:13
|
On Thursday 09 September 2004 09:28, T. Onoma wrote: > On Thursday 09 September 2004 01:53 am, Oren Ben-Kiki wrote: > > So, bottom line: > > - '?' tags: +1. > > - Having no resolution in the spec: -1. > > Deal? > > I agree. All right!!! we have a winner! Clark? Brian? > With resolution, you mean spec-ing a standard, but I am free to > transform any way I want if I otherwise wish, right? You are free to do whatever you want... all the spec says is what must a conforming YAML processor do (and not do) to be considered "conforming" and what does it mean to "preserve the semantics of the document". Applications, almost by definition, do something other than "preserve the semantics of their input". Their whole _point_ is to change the semantics. So, why should you be forbidden from transforming the document in any way? What, YSLT (== XSLT for YAML) isn't a valid application? All the spec says is that if you apply you "whatever I want to do", please don't call it "loading a YAML document". Call it "changing a YAMNL document". Just like all the spec says that if you define your language which looks like YAML but using key order (say) fine, but don't call it YAML and don't call your documents "conforming YAML documents". Again: we are just saying "what is a conforming YAML processor? What is a valid YAML document? What does it mean to load a YAML document?" We are not forbidding _anything_. We _want_ YAML to be used for transforming, mangling, and otherwise having tons of fun with the data. *Have fun* :-) Oren Ben-Kiki |