computerline1z / okapi

Automatically exported from code.google.com/p/okapi
0 stars 0 forks source link

merge problem when docx has a OpenXml.Drawing object (<a:p>) #350

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
See: http://tech.groups.yahoo.com/group/okapitools/message/3785

Original issue reported on code.google.com by yves.sav...@gmail.com on 9 Jul 2013 at 1:49

Attachments:

GoogleCodeExporter commented 9 years ago
0.22-SNAPSHOT did not have an effect on this issue.
Thanks,
Mike

Original comment by mrh...@gmail.com on 11 Jul 2013 at 2:22

GoogleCodeExporter commented 9 years ago

Original comment by yves.sav...@gmail.com on 11 Jul 2013 at 3:00

GoogleCodeExporter commented 9 years ago
From email:

> I have a DOCX file which has a o:gfxdata tag.  The OpenXMLContentFilter is 
caught in an infinite loop in the run method of the thread created in the 
combineRepeatedFormat method.  The read keeps returning the same cbuf value.
> 
>   public void run()
>         {
>           try
>           {
>             while((n=br.read(cbuf,0,512))!=-1)
>             {
>               for(i=0;i<n;i++)
>               {
>                   handleOneChar(cbuf[i]);
>               }
>             }
> 
> The document I am processing cannot be released to the public, so I am trying 
to create an example for this group.  

Original comment by yves.sav...@gmail.com on 11 Jul 2013 at 5:59

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I see what has happened, two errors have been added into one bug.
#3 is it's own issue...

Original comment by mrh...@gmail.com on 11 Jul 2013 at 6:40

GoogleCodeExporter commented 9 years ago
I couldn't reproduce the problem, but a small version of the test file has been 
added to the test suite.

Original comment by twbgaze...@gmail.com on 26 Jul 2013 at 3:22

GoogleCodeExporter commented 9 years ago
It was #3, the neverendingloop problem that I couldn't reproduce.

Original comment by twbgaze...@gmail.com on 26 Jul 2013 at 3:24

GoogleCodeExporter commented 9 years ago

Original comment by twbgaze...@gmail.com on 15 May 2014 at 4:58

GoogleCodeExporter commented 9 years ago
apissue.docx is part of the test suite and works OK.

Original comment by twbgaze...@gmail.com on 15 May 2014 at 5:00