example 7.17 in YAML 1.2 spec 2009-07-21

Osamu TAKEUCHI <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <[email protected]>
Dear the YAML spec writers,

I am now testing my YAML 1.2 parser written in C# along with the 
YAML 1.2 specification dated 2009-07-21. Meanwhile, I have some 
questions and comments on the specification. Please allow me to 
post them in several independent emails.

At first, 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) ).

ns-plain-char(c) ::= ns-plain-safe(c)
                   | ( /* An ns-char preceding */ # )
                   | ( : /* Followed by an ns-plain-safe(c) */ ) 
                                               ~~~~~~~~~~~~~~~~
I feel like the result of this example is more desirable than 
accepting "omitted value:" as the key for the entry.

What is the official way to accept the source?

Osamu Takeuchi

PS 
The followings are the mechanical defects I found in the spec in 
addition to the ones indicated by Brad on 2009-07-25.

- Example 6.4.: A line break in literal text is missing in the result.
- Example 8.21. shows a completely deferent result.
- Example 9.5. : Map node does not seem to exist in the source.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
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.