Re: example 7.17 in YAML 1.2 spec 2009-07-21

Oren Ben-Kiki <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <1254416334.3756.56.camel@nero>
On Fri, 2009-10-02 at 00:20 +0900, Osamu TAKEUCHI wrote:
> > So basically the new rule should be:
> > 
> > 	/* Followed by (ns-char - c-flow-indicator) */
> > 
> > Instead of:
> > 
> > 	/* Followed by ns-char */ (originally)
> > 	/* Followed by ns-plain-char(c) */ (my rule)
> 
> No, it is not good enough, if you really want to have the 
> compatibility.
> 
> Note that, out of a flow context, it has been allowed to 
> include indicators in a plain scalar.

Damn. You're right... wishful thinking on my part - I was for not
allowing that in the 1st place. I _knew_ it will get us into trouble :-)

> It has to be:
> 
>     /* Followed by ( ns-plain-safe(c) | "#" | ":" ) */ (my rule)

That's getting too complex. Better to define ns-plain-follow and reuse
that (in three different places). Sigh.

> Best,
> Osamu TAKEUCHI
> 
> 
> P.S. It was not me but BlueG who pointed out the order of goals. 
> Please revise the errata.

Oh - right. Sorry, BlueGM! I'll fix that as well.

Thanks,

    Oren Ben-Kiki.


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.