JSON & plain scalers
Burt Harris <[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <4367B3F0BD5AA84DBE0A9DA5AAF7B7B95635280F73@NA-EXMSG-C103.redmond.corp.microsoft.com> |
Section 10.2.2 says: > Scalars with the "?" non-specific tag (that is, plain scalars) are matched with a set > of regular expressions. In principle, JSON files should not contain any such scalars. > Hence the YAML processor should consider them to be an error. That seems incorrectly worded. Perhaps the intent is to describe a "JSON only" mode for a YAML processor, but even then, plain scalars are allowed, though only ones matching the regular expressions. Useful as such a processor feature might be, does such a mode belong in the YAML spec? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/