Skip to content

ID3v2: Missing owner in UFID frame #226

Answered by uklotzde
jokorone asked this question in Q&A
Discussion options

You must be logged in to vote

https://en.wikipedia.org/wiki/Robustness_principle

Probably we need 3 modes of operation:

  • The default behavior should accept all data that could be parsed and has a valid representation. It should fail if parsing fails. Like in this example where a non-empty string is expected, that could still be stored as an empty string. Subsequently trying to write the tag should fail.
  • The relaxed mode should ignore throw away data all that could not be parsed, i.e. accepting partial/incomplete results.
  • The strict mode should reject al non-standard data as it does now.

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Serial-ATA
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #204 on July 04, 2023 19:58.