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

YAML scalar binary tag not implemented #99

Open
markblackman opened this issue Dec 14, 2020 · 0 comments
Open

YAML scalar binary tag not implemented #99

markblackman opened this issue Dec 14, 2020 · 0 comments

Comments

@markblackman
Copy link

https://yaml.org/type/binary.html indicates that YAML 1.1 documents should support a binary scalar tag (!!binary) and I believe that libyaml does support binary tags, although the Perl bindings here do not. They seem to be limited to just FLOAT and INT for scalars. The error looks like this.

mark@C02Z26EHLVDL dev % ysh -MYAML::XS  < pillar.yaml 
YAML::XS Error: bad tag found for scalar: 'tag:yaml.org,2002:binary' at /Users/mark/perl5/perlbrew/perls/perl-5.30.0/lib/site_perl/5.30.0/YAML/Shell.pm line 96, <STDIN> line 210803.
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

1 participant