--- &test-DK95:01
Title: Tabs that look like indentation
Tags: [ indent, whitespace ]
invalid_incorrect
+STR
+DOC
+MAP
=VAL :foo
=VAL "bar baz
-MAP
-DOC
-STR
invalid_incorrect
+STR
+DOC
+MAP
=VAL :foo
=VAL 'bar baz
-MAP
-DOC
-STR
invalid_incorrect
+STR
+DOC
+MAP
=VAL :foo
=VAL :bar baz
-MAP
-DOC
-STR
invalid_incorrect
+STR
+DOC
+MAP
=VAL :foo
=VAL "bar baz
-MAP
-DOC
-STR
invalid_incorrect
{"foo": "bar baz"}
invalid_incorrect
{"foo":"bar baz"}
invalid_incorrect
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|foo
1 3 3 3 -VAL |
1 3 3 3 -NODE|
1 3 3 3 =SYNX|:
1 4 4 4 =WSPC|.
1 5 5 5 +NODE|
1 5 5 5 +VAL |
1 5 5 5 =SYNX|"
1 6 6 6 =TEXT|bar
1 9 9 9 -VAL |
1 9 9 9 -NODE|
1 9 9 9 =ERR |Unexpected.'\x0a'
1 9 9 9 =REST|\x0a
2 0 10 10 -PAIR|
2 0 10 10 -MAP |
2 0 10 10 -NODE|
2 0 10 10 -DOC |
2 0 10 10 =ERR |Unexpected.'\x09'
invalid_incorrect
{"foo":"bar baz"}
invalid_incorrect
{"foo":"bar baz"}
invalid_incorrect
+STR
+DOC
+MAP
=VAL :foo
=VAL "bar baz
-MAP
-DOC
-STR
invalid_incorrect
{
"foo" : "bar baz"
}
invalid_incorrect
{
'foo' => 'bar baz'
}
invalid_incorrect
{
"foo" : "bar \tbaz"
}
invalid_incorrect
{
'foo' => 'bar baz'
}
invalid_incorrect
{
"foo" : "bar baz"
}
invalid_incorrect
{
'foo' => 'bar baz'
}
invalid_incorrect
+STR
+DOC
+MAP
=VAL :foo
=VAL "bar baz
-MAP
-DOC
-STR
invalid_incorrect
{
"foo": "bar baz"
}
invalid_incorrect
{'foo': 'bar baz'}
invalid_incorrect
+STR
+DOC
+MAP
=VAL :foo
=VAL "bar baz
-MAP
-DOC
-STR
invalid_incorrect
{
"foo": "bar baz"
}
invalid_incorrect
{'foo': 'bar baz'}
invalid_incorrect
{"foo":"bar baz"}
invalid_incorrect
+STR
+DOC
+MAP
=VAL :foo
=VAL "bar baz
-MAP
-DOC
-STR
invalid_correct
stdin:2:1: error: invalid tab used as indentation
baz"
^~~~~~~~
+STR
+DOC
+MAP
=VAL :foo
invalid_correct
stdin:2:1: error: invalid tab used as indentation
baz"
^~~~~~~~
invalid_correct
Parsing error near byte offset Pos {posByteOffset = 9, posCharOffset = 9, posLine = 1, posColumn = 9} (Unexpected '
')
+STR
+DOC
+MAP
=VAL :foo
=VAL "bar
invalid_correct
hsyaml-parser: user error (Unexpected '
')
invalid_correct
Missing closing "quote at line 1, column 10:
foo: "bar
^
+STR
+DOC
+MAP
=VAL :foo
=VAL "ba
invalid_correct
/yaml/bin/js-yaml-json:9
if (doc.errors.length !== 0) throw doc.errors[0]
^
YAMLParseError: Missing closing "quote at line 1, column 10:
foo: "bar
^
at Composer.onError (/node/node_modules/yaml/dist/compose/composer.js:69:34)
at _onError (/node/node_modules/yaml/dist/compose/resolve-flow-scalar.js:10:42)
at doubleQuotedValue (/node/node_modules/yaml/dist/compose/resolve-flow-scalar.js:171:9)
at Object.resolveFlowScalar (/node/node_modules/yaml/dist/compose/resolve-flow-scalar.js:22:21)
at Object.composeScalar (/node/node_modules/yaml/dist/compose/compose-scalar.js:11:29)
at composeNode (/node/node_modules/yaml/dist/compose/compose-node.js:24:34)
at Object.resolveBlockMap (/node/node_modules/yaml/dist/compose/resolve-block-map.js:83:19)
at resolveCollection (/node/node_modules/yaml/dist/compose/compose-collection.js:13:27)
at Object.composeCollection (/node/node_modules/yaml/dist/compose/compose-collection.js:47:16)
at Object.composeNode (/node/node_modules/yaml/dist/compose/compose-node.js:31:38) {
code: 'MISSING_CHAR',
pos: [ 9, 10 ],
linePos: [ { line: 1, col: 10 }, { line: 2, col: 1 } ]
}
Node.js v20.13.1
invalid_correct
Line : 2
Column : 1
Message : Wrong indendation or missing closing quote <">
Where : /perl5/lib/perl5/YAML/PP/Lexer.pm line 671
YAML : "\tbaz\""
at /yaml/bin/perl-pp-event line 46.
+STR
+DOC
+MAP
=VAL :foo
invalid_correct
Line : 2
Column : 1
Message : Wrong indendation or missing closing quote <">
Where : /perl5/lib/perl5/YAML/PP/Lexer.pm line 671
YAML : "\tbaz\""
at /perl5/lib/perl5/YAML/PP/Loader.pm line 94.
invalid_correct
Line : 2
Column : 1
Message : Wrong indendation or missing closing quote <">
Where : /perl5/lib/perl5/YAML/PP/Lexer.pm line 671
YAML : "\tbaz\""
at /perl5/lib/perl5/YAML/PP/Loader.pm line 94.
invalid_correct
Parser finished before end of input at /perl5/lib/perl5/YAML/Parser.pm line 4056, <> line 1.
invalid_correct
YAML::Tiny does not support a feature in line '"bar' at /yaml/bin/perl-tiny-json line 12.
invalid_correct
YAML::Tiny does not support a feature in line '"bar' at /yaml/bin/perl-tiny-perl line 15.
invalid_correct
Use of uninitialized value in numeric gt (>) at /perl5/lib/perl5/YAML/Loader.pm line 801, <> line 1.
Use of uninitialized value in numeric ne (!=) at /perl5/lib/perl5/YAML/Loader.pm line 804, <> line 1.
Use of uninitialized value in subtraction (-) at /perl5/lib/perl5/YAML/Loader.pm line 809, <> line 1.
YAML Error: Can't parse double quoted string
Code: YAML_PARSE_ERR_BAD_DOUBLE
Line: 2
Document: 1
at /perl5/lib/perl5/YAML/Loader.pm line 574.
invalid_correct
Use of uninitialized value in numeric gt (>) at /perl5/lib/perl5/YAML/Loader.pm line 801, <> line 1.
Use of uninitialized value in numeric ne (!=) at /perl5/lib/perl5/YAML/Loader.pm line 804, <> line 1.
Use of uninitialized value in subtraction (-) at /perl5/lib/perl5/YAML/Loader.pm line 809, <> line 1.
YAML Error: Can't parse double quoted string
Code: YAML_PARSE_ERR_BAD_DOUBLE
Line: 2
Document: 1
at /perl5/lib/perl5/YAML/Loader.pm line 574.