Hi AcidWeb,
One other thing to check - perhaps ASIN keys or more generally any strings are padded to some power of two or multiple of 4 in length? Then by writing out the asins last we may be misaligning the 501 metadata entry which was written previously.
Please try changing the order of adding in the new exth metadata info by writting exth 504 first, 113, next, and finally 501 last (so it will appear first in the metadata list and alignment should not be an issue) for both headers and see if that helps.
If so, we can try to figure out what type of alignment for odd string data like the asins is needed.
|