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
# 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
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
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, mapping
Source
Test Results
---
x: { y: z }in: valid
# 6JTT - Flow sequence without closing bracket
Tags:
error, flow
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:
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
# 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
Source
Test Results
---
[ , a, b, c ]
# 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
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
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
# 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
# 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
Source
Test Results
key: &x
!!map
  a: b
# 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
# 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"
# LHL4 - Invalid tag
Tags:
error, tag
Source
Test Results
---
!invalid{}tag scalar
# 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
[
--- ,
...
]
# NTY5 - Missing space in YAML directive
Tags:
directive, error
Source
Test Results
%YAML1.2
---
key: value
# P2EQ - Invalid sequene item on same line as previous item
Tags:
error, 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
# RXY3 - Invalid document-end marker in single quoted string
Tags:
error, footer, single
Source
Test Results
---
'
...
'
# 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
# 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"
# 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:
block, comment, error, whitespace
Source
Test Results
block: ># comment
  scalar
# 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