[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [tosca] XML and YAML standard convergence
Hi Luca, I believe your observation on the “Simple Profile” spec is correct. The Simple Profile spec is not at all a subset of the XML spec. As you noted, the Simple Profile
spec introduced several features that are not in the XML spec (including a set of normative Tosca types). What’s simple about the “Simple Profile” spec is that it is simpler to read and write (since it is YAML-based). I am not aware of any work currently being done to port the new features back to the XML spec, so I suspect that for the foreseeable future, the YAML spec will
be the most up-to-date version. My personal recommendation (I’m not speaking on behalf of OASIS here) is that if you’re just starting out, I would use the YAML spec rather than the XML spec.
Chris From: tosca@lists.oasis-open.org [mailto:tosca@lists.oasis-open.org]
On Behalf Of Luca Gioppo I do not want to volunteer to unknown efforts but it could be something I could consider after having a better knowledge of the whole thing :D With my limited overview it seems to me that the YAML "simple" profile is going to be more complete and become more "complex" than the standard XML that has just the complexity of being XML and not YAML. In this case the "simple" I think is applyed to the definition language and not to the content of the standard. The presence of new functions in the "simple" require, IMHO, that also the core standard be adeguated otherwise phrases like: "Further note that TOSCA provides for a set of intrinsic functions like
get_input,
get_property or
get_attribute to reference elements within the template or to retrieve runtime values." [end of 3.1] would generate expectation that THE TOSCA STANDARD in general provides them
whatever the profile you are using and especially if you get the simple one you expect that the core one has it also. Reading chapter 1: "This proposal prescribes an isomorphic rendering in YAML of a subset of the TOSCA v1.0 ensuring that TOSCA semantics are preserved and can be transformed from XML to YAML or from YAML to XML. Additionally, in order
to streamline the _expression_ of TOSCA semantics, the YAML rendering is sought to be more concise and compact through the use of the YAML syntax." From this statement is supposed that a sort of decision has been made to make the two "isomorphic" but there are no functions (or I could not find them) in the XML one so no option to go back and forward from the
two. Not want to give a wrong impression, but from the outside is confusing: it seems they are 2 different standards and that YAML will replace XML. Luca > _________________________________________________________________________ > >
> |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]