You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2025/01/21 12:37:48 UTC

[Bug 69541] New: Unable to read the file properly due to some formatting in this doc file

https://bz.apache.org/bugzilla/show_bug.cgi?id=69541

            Bug ID: 69541
           Summary: Unable to read the file properly due to some
                    formatting in this doc file
           Product: POI
           Version: 5.2.3-FINAL
          Hardware: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: XWPF
          Assignee: dev@poi.apache.org
          Reporter: sachin.tiwari@netcracker.com
  Target Milestone: ---

Created attachment 39972
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=39972&action=edit
The content of this file is getting read successfully.

I was using 4.1.1 version and found XWPFDocument was unable to read this docx
file properly due to some formatting issue.
Also we upgraded the POI library to 5.2.3 still it's unable to the read the
same docx file.
Though we had seen if we copy the same content of this file into newly created
.docx file it was successfully able to read it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 69541] Unable to read the file properly due to some formatting in this doc file

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69541

Sachin T <sa...@netcracker.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #39972|original_file.docx          |Test_file.docx
           filename|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 69541] Unable to read the file properly due to some formatting in this doc file

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69541

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|NEEDINFO                    |RESOLVED

--- Comment #3 from Dominik Stadler <do...@gmx.at> ---
This issue is waiting for additional information for a long time, thus closing
for now, please reopen if you can provide more details how to reproduce a
problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 69541] Unable to read the file properly due to some formatting in this doc file

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69541

--- Comment #1 from Sachin T <sa...@netcracker.com> ---
Created attachment 39973
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=39973&action=edit
Different file having same formatting, it also has same problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 69541] Unable to read the file properly due to some formatting in this doc file

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69541

Sachin T <sa...@netcracker.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 69541] Unable to read the file properly due to some formatting in this doc file

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69541

Sachin T <sa...@netcracker.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #39973|Different file having same  |It's Different file but
        description|formatting, it also has     |having same formatting, it
                   |same problem.               |also has same problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 69541] Unable to read the file properly due to some formatting in this doc file

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69541

Sachin T <sa...@netcracker.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #39972|The content of this file is |The content of this file is
        description|getting read successfully.  |not getting read
                   |                            |successfully.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 69541] Unable to read the file properly due to some formatting in this doc file

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69541

PJ Fanning <fa...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #2 from PJ Fanning <fa...@yahoo.com> ---
POI provides a set of classes and methods. There is no one magic read method.
You need to traverse from the Document to its Paragraphs and Runs.

Unless you provide the code that you are using, we will not know what you are
talking about.

You could also spend a little bit of time describing what content that your
code is not picking up and where in your code you are expecting that to be
found.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org