[Solved] SAXParse error in LibreOffice docx file

Help with installation and general system troubleshooting questions concerning the office suite LibreOffice.
Post Reply
JoaWo
Posts: 6
Joined: Mon Jan 22, 2018 2:01 pm

[Solved] SAXParse error in LibreOffice docx file

Post by JoaWo »

HI Rory,
thanks for all the details above, I get the same error message for a .docx file that I work on but cannot open it and when I try to follow the recommendations above I get stuck :/ WOuld you be able to help me please - Is there a way to send you a private message? Thanks in advance!
LibreOffice 5.3.6.1 on WIndows 10
User avatar
robleyd
Moderator
Posts: 5081
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: [Solved] SAXParse error in LibreOffice docx file

Post by robleyd »

Please upload your problem file: [Forum] How to attach a document here Note maximum file size is 128K. If your file is larger, use a file sharing site such as Mediafire. A number of people here may be able to solve your problem.
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
JoaWo
Posts: 6
Joined: Mon Jan 22, 2018 2:01 pm

Re: [Solved] SAXParse error in LibreOffice docx file

Post by JoaWo »

File is now uploaded, hope someone can help :) error message that I get when opening is: SAXParseException: '[word/document.xml line 2]: Attribute w:cstheme redefined
', Stream 'word/document.xml', Line 2, Column 15014(fila,col)
Attachments
CLM_Housing Mgmt_Guideline.docx
(21.03 KiB) Downloaded 239 times
LibreOffice 5.3.6.1 on WIndows 10
User avatar
RoryOF
Moderator
Posts: 34612
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Solved] SAXParse error in LibreOffice docx file

Post by RoryOF »

Try the attached; please ensure that formatting and content are as you require.
Attachments
CLM_Housing Mgmt_Guideline_repaired.docx
(20.84 KiB) Downloaded 246 times
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
JoaWo
Posts: 6
Joined: Mon Jan 22, 2018 2:01 pm

Re: [Solved] SAXParse error in LibreOffice docx file

Post by JoaWo »

hey, it still says the same error message after downloading it. May be if you change it to odt? Thanks for supporting, really appreciate it
LibreOffice 5.3.6.1 on WIndows 10
User avatar
RoryOF
Moderator
Posts: 34612
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Solved] SAXParse error in LibreOffice docx file

Post by RoryOF »

It opened correctly for me on OO 4.1.5, but try the attached
Attachments
CLM_Housing Mgmt_Guideline_repaired.odt
(16.9 KiB) Downloaded 248 times
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
JoaWo
Posts: 6
Joined: Mon Jan 22, 2018 2:01 pm

Re: [Solved] SAXParse error in LibreOffice docx file

Post by JoaWo »

It worked now :) Only the last page seems to be missing. Thanks so much!!
LibreOffice 5.3.6.1 on WIndows 10
User avatar
RoryOF
Moderator
Posts: 34612
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Solved] SAXParse error in LibreOffice docx file

Post by RoryOF »

It showed as 379 words in two (actually 1 1/3 pages) when I repaired it. I only removed the one duplicate XML tag.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
JoaWo
Posts: 6
Joined: Mon Jan 22, 2018 2:01 pm

Re: [Solved] SAXParse error in LibreOffice docx file

Post by JoaWo »

ok, may be it got lost when I initially saved it - happens in the past especially when i save in xls
LibreOffice 5.3.6.1 on WIndows 10
User avatar
RoryOF
Moderator
Posts: 34612
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Solved] SAXParse error in LibreOffice docx file

Post by RoryOF »

We always recommends working only in ODF formats (.odt for Writer) and saving into another format only when finished.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Post Reply