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

Validate LNK/LINK frameid #242

Closed
lazka opened this issue Nov 21, 2015 · 0 comments
Closed

Validate LNK/LINK frameid #242

lazka opened this issue Nov 21, 2015 · 0 comments
Labels

Comments

@lazka
Copy link
Member

@lazka lazka commented Nov 21, 2015

Originally reported by: Daniel Plachotich (Bitbucket: danpla, GitHub: danpla)


All specifications say:

A linked frame is to be considered as part of the tag and has the same restrictions as if it was a physical part of the tag

So it's probably not a bad idea to raise ValueError on validate() and SpecError on read() if the "frameid" is a not a valid frame identifier.

This will require to write a special descendant of StringSpec.


@lazka lazka removed the major label Apr 27, 2016
@lazka lazka closed this in 1bdd912 Jul 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.