[ID3 Dev] Why is footer not included in total size?

Ray Manning ray at homeautomationdev.com
Wed Nov 22 05:33:53 PST 2006


I think there is too much focus on binary comparisons for the
testing.

Testing the write side of an application can consist
of a tag reader that checks for tag conformance. It does
not have to be as rigid as a binary comparison. The reader
can look for non-conforming tags and indicate where the
spec is being violated. It can also burp out warnings
when a "should" clause of the spec is being violated.
This allows the testing to be flexible and adds no
burden to the writer. The reader source code would
make a good adjunct of the spec and guide programmer's
how to read and write tags.


The reading side test suite could just be a series of
nonconformant/conformant tags representing different aspects
of the spec (i.e., frames, headers, footer's, unsync, etc.).
It would be up to the programmer wanting to use the test
tags how to get them into their reader. And of course
the conformance tester would be able to eat all these
tags.



- Ray



> -----Original Message-----
> From: Jim [mailto:jmartin92 at comcast.net]
> Sent: Tuesday, November 21, 2006 4:15 PM
> To: id3v2 at id3.org
> Subject: Re: [ID3 Dev] Why is footer not included in total size?
>
>
> Even if a comprehensive test suite was not created, I think it would still
> be better to have more example tags/files to use for testing a particular
> app.  Perhaps someone could be in charge of compiling submissions from
> developers or other people that submit tags for use in testing?  (That
> person would have to have a thorough knowledge of the spec/standards.
> Perhaps someone that has developed or is developing a fully
> compliant ID3v2
> application?)  If this project was started now, eventually it
> could claim to
> be a comprehensive set of example tags once enough submissions were
> received.
>
> And if the order that the frames are written is carefully controlled, is
> there something else that would cause a written tag to not be bit-for-bit
> identical to an example tag?  (That's assuming it followed the
> model of the
> example tag, like having/not having an extended header, using
> unsynchronization, etc.)
>
> Jim
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: id3v2-unsubscribe at id3.org
For additional commands, e-mail: id3v2-help at id3.org



More information about the ID3v2 mailing list