Andrey Somov
2016-03-10 15:35:17 UTC
Hi all,
does the specification put any restriction on how the same tag can be used
for
different node kinds (scalar, sequence, mapping) ?
For instance, must the parser provide a possibility to define 3 different
ways to construct a node for the document below ?
Is this a valid document ?
%YAML 1.1
---
scalar: !foo bar
seq: !foo [bar]
map: !foo {bar: null}
Cheers,
Andrey
does the specification put any restriction on how the same tag can be used
for
different node kinds (scalar, sequence, mapping) ?
For instance, must the parser provide a possibility to define 3 different
ways to construct a node for the document below ?
Is this a valid document ?
%YAML 1.1
---
scalar: !foo bar
seq: !foo [bar]
map: !foo {bar: null}
Cheers,
Andrey