Re: Unexpected Behavior
Paul Lambert <[email protected]> Fri, 24 Apr 2015 09:34:05 -0700
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <D15FBC11.65569%[email protected]> |
While normally a lurker on this list, I am trying to use YAML …
That would be tricky to define. What about other misleading cases, such as:
- a
b: c
- d
Untyped scalars are problematic for my applications. I’m forced to always say that I’m using a ‘subset of YAML’.
For example?
On Fri, Apr 24, 2015 at 6:07 PM, Ingy dot Net <[email protected]<mailto:[email protected]>> wrote:
My point was this should probably be considered an indentation error. ie we probably shouldn't allow a line starting with '- ' in a plain multi-line scalar.
On Fri, Apr 24, 2015 at 1:37 AM, Oren Ben-Kiki <[email protected]<mailto:[email protected]>> wrote:
YAML is about maps, sequences, and scalars, and this translates to neither. You have a node that has both a scalar value 'a' and also a list of children [ 'b' ]. I may be over-thinking it, but does this try to naively represent some XML-like data? In which case it should be:
- tag: a
children:
- tag: b
- tag:c
Or something along these lines?
Seems like the intent was more like ..
- a:
- tag: b
- tag: c
Paul
On Thu, Apr 23, 2015 at 11:31 PM, Trans <[email protected]<mailto:[email protected]>> wrote:
On Thu, Apr 23, 2015 at 11:54 AM, Ingy dot Net <[email protected]<mailto:[email protected]>> wrote:
I'm working on a universal YAML test suite, and finding unexpected things.
Guess what this does:
- a
- b
- c
Trees structures anyone?
trans
P.S. @igny sorry I bailed on you in helping with those projects, I just don't ever seem to have the time, and it wasn't really clear to me what I could actually do to help.
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Yaml-core mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/yaml-core
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Yaml-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yaml-core