Skip to content

Commit

Permalink
Add errata for text on plain scalar implicit keys
Browse files Browse the repository at this point in the history
  • Loading branch information
eemeli committed Aug 26, 2023
1 parent 1b1a1be commit b7df6d6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion spec/1.2.2/ext/errata.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# YAML Specification 1.2.2 Errata

* None yet reported
7.3.3. Flow Scalar Styles / Plain Style
:
Removed the clause "or when used as implicit keys"
as a situation when flow indicator characters may not be used in plain scalars.
This does not reflect the spec rules,
nor is it followed by any current implementation.
(reported by @eemeli on 2023-08-26)
2 changes: 1 addition & 1 deletion spec/1.2.2/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -4108,7 +4108,7 @@ ambiguity.
Plain scalars must never contain the "`: `" and "` #`" character combinations.
Such combinations would cause ambiguity with [mapping] [key/value pairs] and
[comments].
In addition, inside [flow collections], or when used as [implicit keys], plain
In addition, inside [flow collections], plain
scalars must not contain the "`[`", "`]`", "`{`", "`}`" and "`,`" characters.
These characters would cause ambiguity with [flow collection] structures.

Expand Down

0 comments on commit b7df6d6

Please sign in to comment.