[Solved] LibreOffice Format Error SAXParse

Help with installation and general system troubleshooting questions concerning the office suite LibreOffice.
Post Reply
hughd
Posts: 3
Joined: Sun Apr 23, 2017 12:05 pm

[Solved] LibreOffice Format Error SAXParse

Post by hughd »

Another SAXParseException
I just spent an hour working on a .docx without intermittent saves. Using LivbreOffice 5.3.x because I find it easier then working in Word.
the final thing I did was try to bulk change character colour throughout the document from Chartreuse et al (God only knows why anyone chose that). Now it won't open with Word nor LibreOffice.
Finally I tried to open it again with both Word and with LO. and neither will open it.
The error message from the "expurgated" version from LibreOffice is:-
File format error found at
SAXParseException: '[word/document.xml line 2]: Attribute w:themeColor redefined
', Stream 'word/document.xml', Line 2, Column 76545(row,col).

The error message from the more original version (ending TNR) is:-
SAXParseException: '[word/document.xml line 2]: Attribute w:themeColor redefined
', Stream 'word/document.xml', Line 2, Column 81594(row,col).

I have limited time before I have to send this back to the committee for whom I am doing this edit.
Please help.
Last edited by Hagar Delest on Tue Apr 25, 2017 9:09 pm, edited 1 time in total.
Reason: tagged [Solved].
Hugh. LibreOffice 5.3.1.2. Windows 10
User avatar
RoryOF
Moderator
Posts: 34787
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Solved] LibreOffice Format Error SAXParse

Post by RoryOF »

Please upload the earliest damaged version of the file so that someone can examine it.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
hughd
Posts: 3
Joined: Sun Apr 23, 2017 12:05 pm

Re: LibreOffice Format Error SAXParse

Post by hughd »

Hi Rory
I tried attaching the files but they are both too big, 160KB and 170KB
I can't find a way to attach them in your web based email facility.
If you email me privately I can send them to you.
Cheers
Hugh
Hugh. LibreOffice 5.3.1.2. Windows 10
User avatar
robleyd
Moderator
Posts: 5265
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: LibreOffice Format Error SAXParse

Post by robleyd »

If they don't have confidential data, you could use a file sharing service such as dropbox. Alternatively, I've sent a PM with an email address.
Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.8.3.2; SlackBuild for 24.8.3 by Eric Hameleers
---------------------
Roses are Red, Violets are Blue
Unexpected '{' on line 32
.
hughd
Posts: 3
Joined: Sun Apr 23, 2017 12:05 pm

Re: LibreOffice Format Error SAXParse

Post by hughd »

Solved!! Many thanks to FJCC, robleyd and Rory.
the link to learn how to do it, thanks to robleyd is here:-

[Tutorial] Format error discovered in sub-document

worked as advertised, no hitches (newbie's luck perhaps)
Last edited by RoryOF on Tue Apr 25, 2017 12:10 pm, edited 1 time in total.
Reason: Changed link formatting to be descriptive [RoryOF, Moderator]
Hugh. LibreOffice 5.3.1.2. Windows 10
Post Reply