in-yaml
# 236B - Invalid value after mapping
Tags:
error, mapping
Source
Test Results
foo:
  bar
invalid
# 2CMS - Invalid mapping in plain multiline
Tags:
error, mapping
Source
Test Results
this
 is
  invalid: x
# 2G84:00 - Literal modifers
--- |0
# 2G84:01 - Literal modifers
--- |10
# 3HFZ - Invalid content after document end marker
Tags:
error, footer
Source
Test Results
---
key: value
... invalid
# 4EJS - Invalid tabs as indendation in a mapping
Tags:
error, mapping, whitespace
Source
Test Results
---
a:
	b:
		c: value
# 4H7K - Flow sequence with invalid extra closing bracket
Tags:
error, flow, sequence
Source
Test Results
---
[ a, b, c ] ]
# 4HVU - Wrong indendation in Sequence
Tags:
error, indent, sequence
Source
Test Results
key:
   - ok
   - also ok
  - wrong
# 4JVG - Scalar value with two anchors
Tags:
anchor, error, mapping
Source
Test Results
top1: &node1
  &k1 key1: val1
top2: &node2
  &v2 val2
# 55WF - Invalid escape in double quoted string
Tags:
double, error
Source
Test Results
---
"\."
# 5LLU - Block scalar with wrong indented line after spaces only
Tags:
error, folded, whitespace
Source
Test Results
block scalar: >
 
  
   
 invalid
# 5TRB - Invalid document-start marker in doublequoted tring
Tags:
double, error, header
Source
Test Results
---
"
---
"
# 5U3A - Sequence on same Line as Mapping Key
Tags:
error, mapping, sequence
Source
Test Results
key: - a
     - b
# 62EZ - Invalid block mapping key on same line as previous key
Tags:
error, flow, mapping
Source
Test Results
---
x: { y: z }in: valid
# 6JTT - Flow sequence without closing bracket
Tags:
error, flow, sequence
Source
Test Results
---
[ [ a, b, c ]
# 6S55 - Invalid scalar at the end of sequence
Tags:
error, mapping, sequence
Source
Test Results
key:
 - bar
 - baz
 invalid
# 7LBH - Multiline double quoted implicit keys
Tags:
double, error
Source
Test Results
"a\nb": 1
"c
 d": 1
# 7MNF - Missing colon
Tags:
error, mapping
Source
Test Results
top1:
  key1: val1
top2
# 8XDJ - Comment in plain multiline value
Tags:
comment, error, scalar
Source
Test Results
key: word1
#  xxx
  word2
# 9C9N - Wrong indented flow sequence
Tags:
error, flow, indent, sequence
Source
Test Results
---
flow: [a,
b,
c]
# 9CWY - Invalid scalar at the end of mapping
Tags:
error, mapping, sequence
Source
Test Results
key:
 - item1
 - item2
invalid
# 9HCY - Need document footer before directives
Tags:
directive, error, footer, tag, unknown-tag
Source
Test Results
!foo "bar"
%TAG ! tag:example.com,2000:app/
---
!foo "bar"
# 9JBA - Invalid comment after end of flow sequence
Tags:
comment, error, flow, sequence
Source
Test Results
---
[ a, b, c, ]#invalid
# 9KBC - Mapping starting at --- line
Tags:
error, header, mapping
Source
Test Results
--- key1: value1
    key2: value2
# 9MAG - Flow sequence with invalid comma at the beginning
Tags:
error, flow, sequence
Source
Test Results
---
[ , a, b, c ]
# 9MMA - Directive by itself with no document
Tags:
directive, error
Source
Test Results
%YAML 1.2
# 9MQT:01 - Scalar doc with '...' in content
--- "a
... x
b"
# B63P - Directive without document
Tags:
directive, document, error
Source
Test Results
%YAML 1.2
...
# BD7L - Invalid mapping after sequence
Tags:
error, mapping, sequence
Source
Test Results
- item1
- item2
invalid: x
# BF9H - Trailing comment in multiline plain scalar
Tags:
comment, error, scalar
Source
Test Results
---
plain: a
       b # end of scalar
       c
# BS4K - Comment between plain scalar lines
Tags:
error, scalar
Source
Test Results
word1  # comment
word2
# C2SP - Flow Mapping Key on two lines
Tags:
error, flow, mapping
Source
Test Results
[23
]: 42
# CML9 - Missing comma in flow
Tags:
comment, error, flow
Source
Test Results
key: [ word1
#  xxx
  word2 ]
# CQ3W - Double quoted string without closing quote
Tags:
double, error
Source
Test Results
---
key: "missing closing quote
# CTN5 - Flow sequence with invalid extra comma
Tags:
error, flow, sequence
Source
Test Results
---
[ a, b, c, , ]
# CVW2 - Invalid comment after comma
Tags:
comment, error, flow, sequence
Source
Test Results
---
[ a, b, c,#invalid
]
# CXX2 - Mapping with anchor on document start line
Tags:
anchor, error, header, mapping
Source
Test Results
--- &anchor a: b
# D49Q - Multiline single quoted implicit keys
Tags:
error, mapping, single
Source
Test Results
'a\nb': 1
'c
 d': 1
# DK4H - Implicit key followed by newline
Tags:
error, flow, mapping, sequence
Source
Test Results
---
[ key
  : value ]
# DK95:01 - Tabs that look like indentation
foo: "bar
	baz"
# DK95:06 - Tabs that look like indentation
foo:
  a: 1
  	b: 2
# DMG6 - Wrong indendation in Map
Tags:
error, indent, mapping
Source
Test Results
key:
  ok: 1
 wrong: 2
# EB22 - Missing document-end marker before directive
Tags:
directive, error, footer
Source
Test Results
---
scalar1 # comment
%YAML 1.2
---
scalar2
# EW3V - Wrong indendation in mapping
Tags:
error, indent, mapping
Source
Test Results
k1: v1
 k2: v2
# G5U8 - Plain dashes in flow sequence
Tags:
flow, sequence
Source
Test Results
---
- [-, -]
# G7JE - Multiline implicit keys
Tags:
error, mapping
Source
Test Results
a\nb: 1
c
 d: 1
# G9HC - Invalid anchor in zero indented sequence
Tags:
anchor, error, sequence
Source
Test Results
---
seq:
&anchor
- a
- b
# GDY7 - Comment that looks like a mapping key
Tags:
comment, error, mapping
Source
Test Results
key: value
this is #not a: key
# GT5M - Node anchor in sequence
Tags:
anchor, error, sequence
Source
Test Results
- item1
&node
- item2
# H7J7 - Node anchor not indented
Tags:
anchor, error, indent, tag
Source
Test Results
key: &x
!!map
  a: b
# H7TQ - Extra words on %YAML directive
Tags:
directive
Source
Test Results
%YAML 1.2 foo
---
# HRE5 - Double quoted scalar with escaped single quote
Tags:
double, error, single
Source
Test Results
---
double: "quoted \' scalar"
# HU3P - Invalid Mapping in plain scalar
Tags:
error, mapping, scalar
Source
Test Results
key:
  word1 word2
  no: key
# JKF3 - Multiline unidented double quoted block key
Tags:
indent
Source
Test Results
- - "bar
bar": x
# JY7Z - Trailing content that looks like a mapping
Tags:
double, error, mapping
Source
Test Results
key1: "quoted1"
key2: "quoted2" no key: nor value
key3: "quoted3"
# KS4U - Invalid item after end of flow sequence
Tags:
error, flow, sequence
Source
Test Results
---
[
sequence item
]
invalid item
# LHL4 - Invalid tag
Tags:
error, tag
Source
Test Results
---
!invalid{}tag scalar
# MUS6:00 - Directive variants
%YAML 1.1#...
---
# MUS6:01 - Directive variants
%YAML 1.2
---
%YAML 1.2
---
# N4JP - Bad indentation in mapping
Tags:
double, error, indent, mapping
Source
Test Results
map:
  key1: "quoted1"
 key2: "bad indentation"
# N782 - Invalid document markers in flow style
Tags:
edge, error, flow, footer, header
Source
Test Results
[
--- ,
...
]
# P2EQ - Invalid sequene item on same line as previous item
Tags:
error, flow, mapping, sequence
Source
Test Results
---
- { y: z }- invalid
# Q4CL - Trailing content after quoted value
Tags:
double, error, mapping
Source
Test Results
key1: "quoted1"
key2: "quoted2" trailing content
key3: "quoted3"
# QB6E - Wrong indented multiline quoted scalar
Tags:
double, error, indent
Source
Test Results
---
quoted: "a
b
c"
# QLJ7 - Tag shorthand used in documents but only defined in the first
Tags:
directive, error, tag
Source
Test Results
%TAG !prefix! tag:example.com,2011:
--- !prefix!A
a: b
--- !prefix!B
c: d
--- !prefix!C
e: f
# RHX7 - YAML directive without document end marker
Tags:
directive, error
Source
Test Results
---
key: value
%YAML 1.2
---
# RXY3 - Invalid document-end marker in single quoted string
Tags:
error, footer, single
Source
Test Results
---
'
...
'
# S4GJ - Invalid text after block scalar indicator
Tags:
error, folded
Source
Test Results
---
folded: > first line
  second line
# S98Z - Block scalar with more spaces than first content line
Tags:
comment, error, folded, scalar, whitespace
Source
Test Results
empty block scalar: >
 
  
   
 # comment
# SF5V - Duplicate YAML directive
Tags:
directive, error
Source
Test Results
%YAML 1.2
%YAML 1.2
---
# SR86 - Anchor plus Alias
Tags:
alias, error
Source
Test Results
key1: &a value
key2: &b *a
# SU5Z - Comment without whitespace after doublequoted scalar
Tags:
comment, double, error, whitespace
Source
Test Results
key: "value"# invalid comment
# SU74 - Anchor and alias as mapping key
Tags:
alias, anchor, error, mapping
Source
Test Results
key1: &alias value1
&b *alias : value2
# SY6V - Anchor before sequence entry on same line
Tags:
anchor, error, sequence
Source
Test Results
&anchor - sequence entry
# T833 - Flow mapping missing a separating comma
Tags:
error, flow, mapping
Source
Test Results
---
{
 foo: 1
 bar: 2 }
# TD5N - Invalid scalar after sequence
Tags:
error, scalar, sequence
Source
Test Results
- item1
- item2
invalid
# U44R - Bad indentation in mapping (2)
Tags:
double, error, indent, mapping
Source
Test Results
map:
  key1: "quoted1"
   key2: "bad indentation"
# U99R - Invalid comma in tag
Tags:
error, tag
Source
Test Results
- !!str, xxx
# VJP3:00 - Flow collections over many lines
k: {
k
:
v
}
# W9L4 - Literal block scalar with more spaces in first line
Tags:
error, literal, whitespace
Source
Test Results
---
block scalar: |
     
  more spaces at the beginning
  are invalid
# X4QW - Comment without whitespace after block scalar indicator
Tags:
comment, error, folded, whitespace
Source
Test Results
block: ># comment
  scalar
# Y79Y:000 - Tabs in various contexts
foo: |
	
bar: 1
# Y79Y:003 - Tabs in various contexts
- [
	foo,
 foo
 ]
# Y79Y:004 - Tabs in various contexts
-	-
# Y79Y:005 - Tabs in various contexts
- 	-
# Y79Y:006 - Tabs in various contexts
?	-
# Y79Y:007 - Tabs in various contexts
? -
:	-
# Y79Y:008 - Tabs in various contexts
?	key:
# Y79Y:009 - Tabs in various contexts
? key:
:	key:
# YJV2 - Dash in flow sequence
Tags:
flow, sequence
Source
Test Results
[-]
# ZCZ6 - Invalid mapping in plain single line value
Tags:
error, mapping, scalar
Source
Test Results
a: b: c: d
# ZL4Z - Invalid nested mapping
Tags:
error, mapping
Source
Test Results
---
a: 'b': c
# ZVH3 - Wrong indented sequence item
Tags:
error, indent, sequence
Source
Test Results
- key: value
 - item1
# ZXT5 - Implicit key followed by newline and adjacent value
Tags:
error, flow, mapping, sequence
Source
Test Results
[ "key"
  :value ]