--- &test-U99R
Title: Invalid comma in tag
Tags: [ error, tag ]
invalid_incorrect
+STR
+DOC
+SEQ
=VAL <tag:yaml.org,2002:str> :, xxx
-SEQ
-DOC
-STR
invalid_incorrect
+STR
+DOC
+SEQ
=VAL <tag:yaml.org,2002:str,> :xxx
-SEQ
-DOC
-STR
invalid_incorrect
["xxx"]
invalid_incorrect
Line Col Char Byte Token|Content
1 0 0 0 +DOC |
1 0 0 0 +NODE|
1 0 0 0 +SEQ |
1 0 0 0 =SYNX|-
1 1 1 1 +NODE|
1 1 1 1 +VAL |
1 1 1 1 -VAL |
1 1 1 1 -NODE|
1 1 1 1 =REST|.!!str,.xxx
1 12 12 12 =REST|\x0a
2 0 13 13 -SEQ |
2 0 13 13 -NODE|
2 0 13 13 -DOC |
invalid_incorrect
+STR
+DOC
+SEQ
=VAL <tag:yaml.org,2002:str,> :xxx
-SEQ
-DOC
-STR
invalid_incorrect
+STR
+DOC
+SEQ
=VAL <tag:yaml.org,2002:str,> :xxx
-SEQ
-DOC
-STR
invalid_incorrect
["xxx"]
invalid_incorrect
[
"xxx"
]
invalid_incorrect
[
'xxx'
]
invalid_incorrect
[
"xxx"
]
invalid_incorrect
[
'xxx'
]
invalid_incorrect
+STR
+DOC
+SEQ
=VAL <tag:yaml.org,2002:str,> :xxx
-SEQ
-DOC
-STR
invalid_incorrect
[
"xxx"
]
invalid_incorrect
[GenericScalar(tag='tag:yaml.org,2002:str,', content='xxx')]
invalid_incorrect
+STR
+DOC
+SEQ
=VAL <tag:yaml.org,2002:str,> :xxx
-SEQ
-DOC
-STR
invalid_incorrect
[
"xxx"
]
invalid_incorrect
[GenericScalar(tag='tag:yaml.org,2002:str,', content='xxx')]
invalid_incorrect
["xxx"]
invalid_incorrect
+STR
+DOC
+SEQ
=VAL <tag:yaml.org,2002:str,> :xxx
-SEQ
-DOC
-STR
invalid_correct
stdin:1:8: error: did not find expected '-' indicator
- !!str, xxx
^
+STR
+DOC
+SEQ
=VAL <tag:yaml.org,2002:str> :
invalid_correct
stdin:1:8: error: did not find expected '-' indicator
- !!str, xxx
^
invalid_correct
Parse error: did not find expected whitespace or line break
+STR
+DOC
+SEQ
invalid_correct
Exception:
yaml-cpp: error at line 1, column 8: end of sequence not found
+STR
+DOC
+SEQ
=VAL <tag:yaml.org,2002:str> :
invalid_correct
Unhandled exception. YamlDotNet.Core.YamlException: (Line: 1, Col: 3, Idx: 2) - (Line: 1, Col: 13, Idx: 12): Encountered an unresolved tag 'tag:yaml.org,2002:str,'
at YamlDotNet.Serialization.NodeTypeResolvers.PreventUnknownTagsNodeTypeResolver.YamlDotNet.Serialization.INodeTypeResolver.Resolve(NodeEvent nodeEvent, Type& currentType)
at YamlDotNet.Serialization.ValueDeserializers.NodeValueDeserializer.GetTypeFromEvent(NodeEvent nodeEvent, Type currentType)
at YamlDotNet.Serialization.ValueDeserializers.NodeValueDeserializer.DeserializeValue(IParser parser, Type expectedType, SerializerState state, IValueDeserializer nestedObjectDeserializer)
at YamlDotNet.Serialization.ValueDeserializers.AliasValueDeserializer.DeserializeValue(IParser parser, Type expectedType, SerializerState state, IValueDeserializer nestedObjectDeserializer)
at YamlDotNet.Serialization.ValueDeserializers.NodeValueDeserializer.<>c__DisplayClass3_0.<DeserializeValue>b__0(IParser r, Type t)
at YamlDotNet.Serialization.NodeDeserializers.CollectionNodeDeserializer.DeserializeHelper(Type tItem, IParser parser, Func`3 nestedObjectDeserializer, IList result, Boolean canUpdate)
at YamlDotNet.Serialization.NodeDeserializers.CollectionNodeDeserializer.YamlDotNet.Serialization.INodeDeserializer.Deserialize(IParser parser, Type expectedType, Func`3 nestedObjectDeserializer, Object& value)
at YamlDotNet.Serialization.ValueDeserializers.NodeValueDeserializer.DeserializeValue(IParser parser, Type expectedType, SerializerState state, IValueDeserializer nestedObjectDeserializer)
at YamlDotNet.Serialization.ValueDeserializers.AliasValueDeserializer.DeserializeValue(IParser parser, Type expectedType, SerializerState state, IValueDeserializer nestedObjectDeserializer)
at YamlDotNet.Serialization.Deserializer.Deserialize(IParser parser, Type type)
at YamlDotNet.Serialization.Deserializer.Deserialize(TextReader input, Type type)
at YamlDotNet.Serialization.Deserializer.Deserialize(TextReader input)
at Program.Main(String[] commandLineArguments)
Aborted (core dumped)
invalid_correct
Parsing error near byte offset Pos {posByteOffset = 1, posCharOffset = 1, posLine = 1, posColumn = 1} (Lexical error near " !!str, xxx")
+STR
+DOC
+SEQ
=VAL :
invalid_correct
hsyaml-parser: user error (Lexical error near " !!str, xxx")
invalid_correct
Exception in thread "main" Can't construct a java object for tag:yaml.org,2002:str,; exception=Class not found: str,
in 'reader', line 1, column 3:
- !!str, xxx
^
at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:343)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObjectNoCheck(BaseConstructor.java:231)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:220)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructSequenceStep2(BaseConstructor.java:391)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructSequence(BaseConstructor.java:375)
at org.yaml.snakeyaml.constructor.SafeConstructor$ConstructYamlSeq.construct(SafeConstructor.java:534)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObjectNoCheck(BaseConstructor.java:231)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:220)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:174)
at org.yaml.snakeyaml.constructor.BaseConstructor.getData(BaseConstructor.java:139)
at org.yaml.snakeyaml.Yaml$1.next(Yaml.java:514)
at org.yaml.editor.Snake2Json.yamlToJson(Snake2Json.java:20)
at org.yaml.editor.Snake2Json.main(Snake2Json.java:27)
Caused by: org.yaml.snakeyaml.error.YAMLException: Class not found: str,
at org.yaml.snakeyaml.constructor.Constructor.getClassForNode(Constructor.java:675)
at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.getConstructor(Constructor.java:329)
at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:338)
... 12 more
invalid_correct
Exception in thread "main" Can't construct a java object for tag:yaml.org,2002:str,; exception=Class not found: str,
in 'reader', line 1, column 3:
- !!str, xxx
^
at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:343)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObjectNoCheck(BaseConstructor.java:231)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:220)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructSequenceStep2(BaseConstructor.java:391)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructSequence(BaseConstructor.java:375)
at org.yaml.snakeyaml.constructor.SafeConstructor$ConstructYamlSeq.construct(SafeConstructor.java:534)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObjectNoCheck(BaseConstructor.java:231)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:220)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:174)
at org.yaml.snakeyaml.constructor.BaseConstructor.getData(BaseConstructor.java:139)
at org.yaml.snakeyaml.Yaml$1.next(Yaml.java:514)
at org.yaml.editor.Snake2Json.yamlToJson(Snake2Json.java:20)
at org.yaml.editor.Snake2Json.main(Snake2Json.java:27)
Caused by: org.yaml.snakeyaml.error.YAMLException: Class not found: str,
at org.yaml.snakeyaml.constructor.Constructor.getClassForNode(Constructor.java:675)
at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.getConstructor(Constructor.java:329)
at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:338)
... 12 more
invalid_correct
/node/node_modules/js-yaml/lib/loader.js:187
throw generateError(state, message);
^
YAMLException: tag suffix cannot contain flow indicator characters (1:9)
1 | - !!str, xxx
-------------^
at generateError (/node/node_modules/js-yaml/lib/loader.js:183:10)
at throwError (/node/node_modules/js-yaml/lib/loader.js:187:9)
at readTagProperty (/node/node_modules/js-yaml/lib/loader.js:1275:7)
at composeNode (/node/node_modules/js-yaml/lib/loader.js:1407:12)
at readBlockSequence (/node/node_modules/js-yaml/lib/loader.js:1008:5)
at composeNode (/node/node_modules/js-yaml/lib/loader.js:1440:12)
at readDocument (/node/node_modules/js-yaml/lib/loader.js:1625:3)
at loadDocuments (/node/node_modules/js-yaml/lib/loader.js:1688:5)
at Object.loadAll (/node/node_modules/js-yaml/lib/loader.js:1701:19)
at Object.<anonymous> (/yaml/bin/js-jsyaml-json:7:13)
invalid_correct
Tags and anchors must be separated from the next token by white space at line 1, column 8:
- !!str, xxx
^
+STR
+DOC
+SEQ
invalid_correct
/yaml/bin/js-yaml-json:8
if (doc.errors.length !== 0) throw doc.errors[0]
^
YAMLParseError: Tags and anchors must be separated from the next token by white space at line 1, column 8:
- !!str, xxx
^
at Composer.onError (/node/node_modules/yaml/dist/compose/composer.js:71:34)
at Object.resolveProps (/node/node_modules/yaml/dist/compose/resolve-props.js:116:9)
at Object.resolveBlockSeq (/node/node_modules/yaml/dist/compose/resolve-block-seq.js:13:36)
at Object.composeCollection (/node/node_modules/yaml/dist/compose/compose-collection.js:17:36)
at Object.composeNode (/node/node_modules/yaml/dist/compose/compose-node.js:30:38)
at Object.composeDoc (/node/node_modules/yaml/dist/compose/compose-doc.js:32:23)
at Composer.next (/node/node_modules/yaml/dist/compose/composer.js:152:40)
at next (<anonymous>)
at Composer.compose (/node/node_modules/yaml/dist/compose/composer.js:134:25)
at compose.next (<anonymous>)
invalid_correct
/tmp/NimYAML-0.16.0/yaml/stream.nim(134) nimyaml_event
/tmp/NimYAML-0.16.0/yaml/stream.nim(106) next
Error: unhandled exception: Unexpected token (expected newline or flow item start: SeqSep [YamlStreamError]
+STR
+DOC
+SEQ
invalid_correct
Line : 1
Column : 8
Expected : EOL WS
Got : FLOW_COMMA
Where : /perl5/lib/perl5/YAML/PP/Parser.pm line 392
YAML : ", xxx\n"
at /yaml/bin/perl-pp-event line 25.
+STR
+DOC
+SEQ
invalid_correct
Line : 1
Column : 8
Expected : EOL WS
Got : FLOW_COMMA
Where : /perl5/lib/perl5/YAML/PP/Parser.pm line 392
YAML : ", xxx\n"
at /perl5/lib/perl5/YAML/PP/Loader.pm line 94.
invalid_correct
Line : 1
Column : 8
Expected : EOL WS
Got : FLOW_COMMA
Where : /perl5/lib/perl5/YAML/PP/Parser.pm line 392
YAML : ", xxx\n"
at /perl5/lib/perl5/YAML/PP/Loader.pm line 94.
invalid_correct
YAML::PP::LibYAML Error: The problem:
did not find expected whitespace or line break
was found at , line: 1, column: 8
while scanning a tag at line: 1, column: 3
invalid_correct
YAML::PP::LibYAML Error: The problem:
did not find expected whitespace or line break
was found at , line: 1, column: 8
while scanning a tag at line: 1, column: 3
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 '!!str, xxx' at /yaml/bin/perl-tiny-json line 12.
invalid_correct
YAML::Tiny does not support a feature in line '!!str, xxx' at /yaml/bin/perl-tiny-perl line 15.
invalid_correct
YAML::XS Error: bad tag found for scalar: 'tag:yaml.org,2002:str,' at /yaml/bin/perl-xs-json line 14, <> line 1.
invalid_correct
YAML::XS Error: bad tag found for scalar: 'tag:yaml.org,2002:str,' at /yaml/bin/perl-xs-perl line 16, <> line 1.
invalid_correct
Couldn't parse YAML
in sub load-yamls at /raku/sources/44795C7AB0F35700F4CA9C3E2CC5C924EE4C608F (YAMLish) line 959
in block <unit> at /yaml/bin/raku-yamlish-json line 6
invalid_correct
Couldn't parse YAML
in sub load-yamls at /raku/sources/44795C7AB0F35700F4CA9C3E2CC5C924EE4C608F (YAMLish) line 959
in block <unit> at /yaml/bin/raku-yamlish-raku line 6