[Solved] Corrupted file (SAXParseException error)

Help with installation and general system troubleshooting questions concerning the office suite LibreOffice.
Post Reply
GeneticBio
Posts: 2
Joined: Sun Jan 20, 2019 3:52 pm

[Solved] Corrupted file (SAXParseException error)

Post by GeneticBio »

I saved my file and when I tried to open it I got this error! I spent hours working on it. Can anyone please help me figure out what to do. I have to submit this as a grant tomorrow.

File format error found at
SAXParseException: '[word/document.xml line 2]: Attribute w:themeColor redefined
', Stream 'word/document.xml', Line 2, Column 206410(row,col).

*added after
https://drive.google.com/file/d/1VEgSAT ... sp=sharing

I am using Ubuntu 16.04 and Libra office 6.1. I couldn't create an account with this signature for some reason.

Looking through other posts I'll be sure to use the ODF format in the future.

Best,
Eric
Last edited by GeneticBio on Sun Jan 20, 2019 4:35 pm, edited 5 times in total.
OpenOffice 2.4 on Ubuntu 9.04
User avatar
RoryOF
Moderator
Posts: 34612
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: HELP corrupted file

Post by RoryOF »

Please upload the file to Forum if less than 128KB, or to a file-sharing site.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
User avatar
RoryOF
Moderator
Posts: 34612
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: HELP corrupted file (SAXParseException error) LibraOffic

Post by RoryOF »

Please send me a PM with email address to which I can send the repaired file. There were four errors such as you report in it. The repaired file passes well-formed XML test but will not open on my OO (a pre-release version, so that may not be significant, or on AbiWord, which I have never found reliable. LibreOffice may handle it OK.

Please check that all your content and formatting are as you require in the repaired file.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
GeneticBio
Posts: 2
Joined: Sun Jan 20, 2019 3:52 pm

Re: HELP corrupted file (SAXParseException error) LibraOffic

Post by GeneticBio »

Thanks so much that worked!! That is really really appreciated kind internet person. <3 I didn't have time to redo that today.
OpenOffice 2.4 on Ubuntu 9.04
a1ro
Posts: 4
Joined: Sun Jan 20, 2019 9:55 pm

Re: SOLVED corrupted file (SAXParseException error) LibraOff

Post by a1ro »

Good day. I have a similar problem with the creator of the topic. I can not open the file in LibreOffice. It gives an error with the following content:
SAXParseException: "No namespace defined for pic"
SAXParseException: '{word / document.xml line 20}: Namespace prefix pic on bodyPr is not defined
Stream 'word / document.xml', Line 20, Colum 23379
Please help restore the document. Writing language: Russian.

https://yadi.sk/d/rtY0wo2FRVWbrw
 Edit: Duplicate question - see viewtopic.php?f=101&t=96676 
OpenOffice 3.1
Post Reply