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