[Solved] LibreOffice File format error found at SAXParse

Help with installation and general system troubleshooting questions concerning the office suite LibreOffice.

[Solved] LibreOffice File format error found at SAXParse

Postby chemilia » Thu Oct 27, 2016 4:41 am

I need help!! I've written a midterm paper that's due tomorrow and I can't even open it....

The message I get is:
File format error found at
SAXParseException: "No namespace defined for pic"
SAXParseException: '[word/document.xml line 2]: Namespace prefix pic on bodyPr is not defined
', Stream 'word/document.xml', Line 2, Column 29553(row,col).

If you can help me you're a miracle worker thank you so much in advance
Attachments
RSM461 Midterm.docx
(59.29 KiB) Downloaded 157 times
AC

OpenOffice 3.1
chemilia
 
Posts: 2
Joined: Thu Oct 27, 2016 4:37 am

Re: [Solved] File format error found at SAXParse

Postby RoryOF » Thu Oct 27, 2016 11:08 am

Try this version. Check that it is all present.

If you must submit in a foreign format to that of OpenOfice, use .doc and eschew .docx.

But you should _always_ work in .odt (or OO's other native formats) and save to a foreign format _only_ when the document is finished.

Ask your School/College why they insist on documents being submitted in a secret and proprietary format.
Attachments
RSM461 Midterm.odt
(60.64 KiB) Downloaded 163 times
Apache OpenOffice 4.1.9 on Xubuntu 20.04.1 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 32203
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Solved] File format error found at SAXParse

Postby chemilia » Thu Oct 27, 2016 4:47 pm

Hi Rory it's only the first part of the document :( Half of the essay is missing
AC

OpenOffice 3.1
chemilia
 
Posts: 2
Joined: Thu Oct 27, 2016 4:37 am

Re: [Solved] File format error found at SAXParse

Postby RoryOF » Thu Oct 27, 2016 5:23 pm

Try this. Check for missing parts and reformat - I just grabbed what I perceived to be text.

.docx is an appalling format when examined internally.
Attachments
RSM461 Midterm2.odt
(61.38 KiB) Downloaded 144 times
Apache OpenOffice 4.1.9 on Xubuntu 20.04.1 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 32203
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Solved] File format error found at SAXParse

Postby acknak » Thu Oct 27, 2016 5:51 pm

Here's another shot. All it needs is to have the "pic" namespace declared at the top of the document.xml:

... xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture" ...
Attachments
RSM461 Midterm.docx
(59.08 KiB) Downloaded 456 times
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3


Return to LibreOffice

Who is online

Users browsing this forum: No registered users and 3 guests