On Tue, 15 Apr 2008, Jay wrote:
But, I did spend some time that day, looking at the root cause of this exception. Is it possible for you to reply me with why this error was there ? just interested to know a bit more about it.
An excel file is made up of records. In some cases, the data to fit in a record is larger than it'd like, so it decides to write out the data over multiple records. First you get the main record, then you get continue record(s). Finally, you get the next record.
However, just for fun, sometimes excel does something different. Instead, it writes out a record, then the next record, and only then the continue record for the first record. So, we hit a continue record without expecting one, since the record it continues has already gone, and hence get the exception.
The usermodel recordfactory had workarounds for these odd cases of the continue record not directly following the main record, but eventusermodel didn't. The fix was to include the workaround in eventusermodel too
Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
