diff --git a/spec/1.2.2/ext/errata.md b/spec/1.2.2/ext/errata.md index 5b9e0894..78373efb 100644 --- a/spec/1.2.2/ext/errata.md +++ b/spec/1.2.2/ext/errata.md @@ -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) diff --git a/spec/1.2.2/spec.md b/spec/1.2.2/spec.md index 2f078ec3..4b9f5d98 100644 --- a/spec/1.2.2/spec.md +++ b/spec/1.2.2/spec.md @@ -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.