Re: example 7.17 in YAML 1.2 spec 2009-07-21
Osamu TAKEUCHI <[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <[email protected]> |
Oren, > On Thu, 2009-09-03 at 03:34 +0900, Osamu TAKEUCHI wrote: >> I noticed the example 7.17. is not reproduced by my >> parser nor ypaste. To reproduce the result, it is required to >> replace ( ":" followed by an ns-char ) in the the definition >> of ns-plain-char(c) by ( ":" followed by an ns-plain-safe(c) ). > > I don't see how. The example does work in ypaste. "followed by ns-char" > obviously allows _more_ than "followed by ns-plain-safe(c)". This does > not matter, since the following character is _not_ consumed by this > production, and is left to be consumed by a normal ns-plain-char > production later. ypaste seems to accept "omitted value:" as the key, instead of "omitted value". >> PS >> - Example 8.21. shows a completely deferent result. > > How so? Sorry, I do not see what I though wrong. I think I was careless. Best, Osamu TAKEUCHI ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf