Hi All,
FYI, using a uuid to create a manifest id is just a quick and dirty way of generating a probabilistically unique id for a single epub (it need not be unique outside of this epub). If need be we simply prepend any non-numeric character and we are okay. I will prepend with an 'x'.
If we replace first character with a hex char in the a-f range you are reducing the probabilistic space by a factor of 5 / 16 (there are only 5 possible values for the first char, instead of the 16 expected.
For inside the epub use (ie manifest ids) we simply prepend an a character if need be.
As Doitsu pointed out, there are other places where generating a probabilistically unique id in an exact uuid format is needed and I do not want to confuse the two nor limit its space of possible values as any change will increase the likelihood of an external collision (no matter how small).
I will fix this tonight when I get out of work and get a free minute.
Thanks,
KevinH
|