Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add errata for text on plain scalar implicit keys #313

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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