--- &test-XV9V
Title: Spec Example 6.5. Empty Lines [1.3]
Tags: [ 1.3-mod, literal, scalar, spec ]
Folding:
"Empty line
as a line feed"
Chomping: |
Clipped empty lines
+STR
+DOC
+MAP
=VAL :Folding
=VAL "Empty line\nas a line feed
=VAL :Chomping
=VAL |Clipped empty lines\n
-MAP
-DOC
-STR
{
"Chomping": "Clipped empty lines\n",
"Folding": "Empty line\nas a line feed"
}
error
YAML::Tiny failed to classify line ' "Empty line' at /yaml/bin/perl-tiny-json line 12.
error
YAML::Tiny failed to classify line ' "Empty line' at /yaml/bin/perl-tiny-perl line 15.
error
YAML Error: Expected separator '---'
Code: YAML_PARSE_ERR_NO_SEPARATOR
Line: 2
Document: 2
at /perl5/lib/perl5/YAML/Loader.pm line 88.
error
YAML Error: Expected separator '---'
Code: YAML_PARSE_ERR_NO_SEPARATOR
Line: 2
Document: 2
at /perl5/lib/perl5/YAML/Loader.pm line 88.
na
Line Col Char Byte Token|Content
1 0 0 0 +DOC |
1 0 0 0 +NODE|
1 0 0 0 +MAP |
1 0 0 0 +PAIR|
1 0 0 0 +NODE|
1 0 0 0 +VAL |
1 0 0 0 =TEXT|Folding
1 7 7 7 -VAL |
1 7 7 7 -NODE|
1 7 7 7 =SYNX|:
1 8 8 8 =EOL |\x0a
2 0 9 9 =DENT|.
2 1 10 10 =WSPC|.
2 2 11 11 +NODE|
2 2 11 11 +VAL |
2 2 11 11 =SYNX|"
2 3 12 12 =TEXT|Empty.line
2 13 22 22 =EOL |\x0a
3 0 23 23 =NEWL|\x0a
4 0 24 24 =DENT|.
4 1 25 25 =WSPC|.
4 2 26 26 =TEXT|as.a.line.feed
4 16 40 40 =SYNX|"
4 17 41 41 -VAL |
4 17 41 41 -NODE|
4 17 41 41 =EOL |\x0a
5 0 42 42 -PAIR|
5 0 42 42 +PAIR|
5 0 42 42 +NODE|
5 0 42 42 +VAL |
5 0 42 42 =TEXT|Chomping
5 8 50 50 -VAL |
5 8 50 50 -NODE|
5 8 50 50 =SYNX|:
5 9 51 51 +NODE|
5 9 51 51 =WSPC|.
5 10 52 52 +VAL |
5 10 52 52 =SYNX||
5 11 53 53 =EOL |\x0a
6 0 54 54 =DENT|..
6 2 56 56 =TEXT|Clipped.empty.lines
6 21 75 75 =NEWL|\x0a
7 0 76 76 -VAL |
7 0 76 76 =DENT|.
7 1 77 77 =EOL |\x0a
8 0 78 78 =EOL |\x0a
9 0 79 79 -NODE|
9 0 79 79 -PAIR|
9 0 79 79 -MAP |
9 0 79 79 -NODE|
9 0 79 79 -DOC |
na
{
'Chomping' => 'Clipped empty lines
',
'Folding' => 'Empty line
as a line feed'
}
na
{
'Chomping' => 'Clipped empty lines
',
'Folding' => 'Empty line
as a line feed'
}
na
{
'Chomping' => 'Clipped empty lines
',
'Folding' => 'Empty line
as a line feed'
}
na
{
'Chomping' => 'Clipped empty lines
',
'Folding' => 'Empty line
as a line feed'
}
na
{'Chomping': 'Clipped empty lines\n', 'Folding': 'Empty line\nas a line feed'}
na
{'Chomping': 'Clipped empty lines\n', 'Folding': 'Empty line\nas a line feed'}