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

Should warn when processing a higher minor version YAML file #146

Open
Paalon opened this issue Jun 5, 2024 · 1 comment
Open

Should warn when processing a higher minor version YAML file #146

Paalon opened this issue Jun 5, 2024 · 1 comment

Comments

@Paalon
Copy link
Contributor

Paalon commented Jun 5, 2024

According to https://yaml.org/spec/1.2.2/, 6.8.1,

Documents with a “YAML” directive specifying a higher minor version (e.g. “%YAML 1.3”) should be processed with an appropriate warning.

But does not warn.

julia> YAML.load("""%YAML 1.3\n---\nhello: world""")
Dict{Any, Any} with 1 entry:
  "hello" => "world"
@Paalon Paalon changed the title Does not warn when processing a higher minor version YAML file Should warn when processing a higher minor version YAML file Jun 5, 2024
@kescobo
Copy link
Collaborator

kescobo commented Jun 5, 2024

Related to #133

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants