DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43877>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43877





------- Additional Comments From [EMAIL PROTECTED]  2007-11-20 17:59 -------
Created an attachment (id=21169)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21169&action=view)
Fix for EmbeddedObjectRefSubRecord

Patch contains the following fixes made to EmbeddedObjectRefSubRecord:

1. serialize() wasn't writing the record's sid and length (I forgot that it
   was the subclass' responsibility... blame the API ;-))

2. getRecordSize() was off by 2 as it wasn't taking into account the length of
   the stream ID offset field.

3. Storing the amount of padding instead of figuring it out from the offsets.
   Makes no difference but is somewhat more sane to look at.  Still a hack
   because it should probably write all the stuff and then set the offset field

   once it knows how far in it is.

In any case after this that file still doesn't work for me.  But commenting out
the EmbeddedObjectRefSubRecord check in SubRecord doesn't make it work either.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to