--- &test-RTP8
Title: Spec Example 9.2. Document Markers
Tags: [ footer, header, spec ]
%YAML 1.2
---
Document
... # Suffix
+STR
+DOC ---
=VAL :Document
-DOC ...
-STR
diff
Minimal Events:
+STR
+DOC ---
=VAL :Document
-DOC ...
-STR
Transformed Events:
+STR
+DOC ---
=VAL :Document
-DOC
-STR
Got Events:
+STR
+DOC ---
=VAL :Document
-DOC
-STR
json_diff
"%YAML 1.2 --- Document ..."
error
yaml: found incompatible YAML document
error
YAML::Tiny failed to classify line 'Document' at /yaml/bin/perl-tiny-json line 12.
error
YAML::Tiny failed to classify line 'Document' at /yaml/bin/perl-tiny-perl line 15.
error
YAML Error: Expected separator '---'
Code: YAML_PARSE_ERR_NO_SEPARATOR
Line: 1
Document: 2
at /perl5/lib/perl5/YAML/Loader.pm line 88.
error
YAML Error: Expected separator '---'
Code: YAML_PARSE_ERR_NO_SEPARATOR
Line: 1
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 +DIR |
1 0 0 0 =SYNX|%
1 1 1 1 =META|YAML
1 5 5 5 =WSPC|.
1 6 6 6 =META|1.2
1 9 9 9 -DIR |
1 9 9 9 =EOL |\x0a
2 0 10 10 =HEAD|---
2 3 13 13 =EOL |\x0a
3 0 14 14 +NODE|
3 0 14 14 +VAL |
3 0 14 14 =TEXT|Document
3 8 22 22 -VAL |
3 8 22 22 -NODE|
3 8 22 22 =EOL |\x0a
4 0 23 23 -DOC |
4 0 23 23 =FOOT|...
4 3 26 26 =WSPC|.
4 4 27 27 +COMM|
4 4 27 27 =SYNX|#
4 5 28 28 =META|.Suffix
4 12 35 35 -COMM|
4 12 35 35 =EOL |\x0a
na
'%YAML 1.2 --- Document ...'