Re: compound file documentation

2005-06-04 Thread Daniel Naber
On Friday 03 June 2005 21:31, Doug Cutting wrote: > Then maybe a sentence explaining how the file lengths are computed could > be added instead? Like this?: "FileData --> raw file data - the entries' length isn't explicitly specified but can be calculated by taking the difference of two consecu

Re: compound file documentation

2005-06-03 Thread Doug Cutting
Daniel Naber wrote: On Friday 03 June 2005 19:02, Doug Cutting wrote: FileLength[i] -> (i==FileCount) ? DataOffset[i+1] : EOF) - DataOffset[n] Not sure if that really helps. At least I find it confusing, as neither the "?" operator nor the "EOF" occurs anywhere else in the document (actu

Re: compound file documentation

2005-06-03 Thread Daniel Naber
On Friday 03 June 2005 19:02, Doug Cutting wrote: > FileLength[i]  -> >    (i==FileCount) ? DataOffset[i+1] : EOF) - DataOffset[n] Not sure if that really helps. At least I find it confusing, as neither the "?" operator nor the "EOF" occurs anywhere else in the document (actually the "?" does o

Re: compound file documentation

2005-06-03 Thread Doug Cutting
Daniel Naber wrote: can someone please check my changes to fileformats.xml regarding the compound format? (not yet on the website, call "ant" in the "site" directory to build the files locally). Looks good. One improvement: You could define FileData more formally as something like: FileData