Directives in streams for YAML 1.2

Andrey Somov <[email protected]> Tue, 1 Mar 2016 18:18:29 +0100
Newsgroups gmane.text.yaml.general
Message-ID <CALbkv0caEAxxTytZWwPZsRa5jX+PwsWQXis2=a0bZLxAduz2tw@mail.gmail.com>
Hi all,
the YAML 1.1 specification contains an explicit definition for directive in
complete streams - http://yaml.org/spec/1.1/current.html#id898785

This is the definition:
If the document <http://yaml.org/spec/1.1/current.html#document/syntax>
specifies no directives
<http://yaml.org/spec/1.1/current.html#directive/syntax>, it is parsed
<http://yaml.org/spec/1.1/current.html#parse/> using the same settings as
the previous document
<http://yaml.org/spec/1.1/current.html#document/syntax>. If the document
<http://yaml.org/spec/1.1/current.html#document/syntax> does specify any
directives <http://yaml.org/spec/1.1/current.html#directive/syntax>, all
directives <http://yaml.org/spec/1.1/current.html#directive/syntax> of
previous documents <http://yaml.org/spec/1.1/current.html#document/syntax>,
if any, are ignored.

This is the example: Example 7.13. Next Documents

But I could not find the same definition in YAML 1.2.

What happens with YAML and TAG directives in complete streams ?
Is it the same as in YAML 1.1 ?

Cheers,
Andrey

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140

_______________________________________________
Yaml-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yaml-core