[Solved] LibreOffice File format error found at SAXParse
-
- Posts: 5
- Joined: Wed Nov 16, 2016 11:18 am
- Location: Poland
[Solved] LibreOffice File format error found at SAXParse
Hi,
As everyone here I need some help. I was working on that file, then normally saved it. After few minutes, when I tried to open it - an error occured (File format error found at SAXParseException: '[word/document.xml line 2]: Attribute w:hAnsiTheme redefined
', Stream 'word/document.xml', Line 2, Column 49693(row,col).) But another problem is that my files size's more than 1 MB (maximum allowed size is 128 KiB). How can I 'give' it to You?
I would be very gratefull if You could help me too.
Natalie
As everyone here I need some help. I was working on that file, then normally saved it. After few minutes, when I tried to open it - an error occured (File format error found at SAXParseException: '[word/document.xml line 2]: Attribute w:hAnsiTheme redefined
', Stream 'word/document.xml', Line 2, Column 49693(row,col).) But another problem is that my files size's more than 1 MB (maximum allowed size is 128 KiB). How can I 'give' it to You?
I would be very gratefull if You could help me too.
Natalie
Last edited by me-natalie on Wed Nov 16, 2016 5:42 pm, edited 1 time in total.
LibreOffice 5.2 on Windows 10
Re: [Solved] File format error found at SAXParse
Upload it to a file sharing site and post the link here.
Are you working in .docx format?
Are you working in .docx format?
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
-
- Posts: 5
- Joined: Wed Nov 16, 2016 11:18 am
- Location: Poland
Re: [Solved] File format error found at SAXParse
Right, I forgot about that simple way. Thanks for quick reply.
https://1drv.ms/w/s!AjOTKXz3moHDifZl9wXVm3oricWvfA
Edit: yes, it's in .docx. And also I found out, that that link may not work. Or rather - link works, but I'm not sure if you could download that file.
https://1drv.ms/w/s!AjOTKXz3moHDifZl9wXVm3oricWvfA
Edit: yes, it's in .docx. And also I found out, that that link may not work. Or rather - link works, but I'm not sure if you could download that file.
LibreOffice 5.2 on Windows 10
Re: File format error found at SAXParse
The file cannot be downloaded - it just give an error message that Word OnLine cannot open it.
Can you make the file downloadable? Or rename it to fred.xxx - that will prevent Word trying to open it.
Can you make the file downloadable? Or rename it to fred.xxx - that will prevent Word trying to open it.
LO 6.4.4.2, Windows 10 Home 64 bit
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
-
- Posts: 5
- Joined: Wed Nov 16, 2016 11:18 am
- Location: Poland
Re: File format error found at SAXParse
Yes, I saw that, when I tried to test that link, but had no idea how to repair that. As you said I've changed file extension. Hope it works.
https://1drv.ms/u/s!AjOTKXz3moHDifZppC_Ax8b9X5ENsA
Thank You
https://1drv.ms/u/s!AjOTKXz3moHDifZppC_Ax8b9X5ENsA
Thank You
LibreOffice 5.2 on Windows 10
Re: File format error found at SAXParse
Try this one Broken file jh.odt
It was quite peculiar. I noticed it is a .doc file, so .. It is a .docx file but I renamed it to .doc in error. When I attempted to open it Writer offered to repair it but I did not want to repair it until I had checked its size so I closed the pop-up window with the " X ". The window came back several times and I closed it each time with the " X ", then Writer suddenly opened the document! I saved it as a .odt file.
See [Tutorial] Differences between Writer and MS Word files for why you should always work in and save files as .odt.
If this solves the problem, please click the Edit button on your original post and add [Solved] in front of your subject.
Edit: Edit to correct error |
See [Tutorial] Differences between Writer and MS Word files for why you should always work in and save files as .odt.
If this solves the problem, please click the Edit button on your original post and add [Solved] in front of your subject.
Last edited by John_Ha on Wed Nov 16, 2016 5:06 pm, edited 1 time in total.
LO 6.4.4.2, Windows 10 Home 64 bit
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
Re: File format error found at SAXParse
It is docx, John.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: File format error found at SAXParse
Oops! It is indeed a .docx file - sorry!
LO 6.4.4.2, Windows 10 Home 64 bit
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
-
- Posts: 5
- Joined: Wed Nov 16, 2016 11:18 am
- Location: Poland
Re: File format error found at SAXParse
Thank you very, very much! But is it everything you were able to recover? I'm sure I had 26 pages in the original file and there's only 8 in the new one. I am glad you did that (don't think, that I am not! You rescued my work!), but is there any hope to recover other 18 missing?
Last edited by me-natalie on Wed Nov 16, 2016 9:30 pm, edited 1 time in total.
LibreOffice 5.2 on Windows 10
Re: File format error found at SAXParse
Here's a copy. I just tweaked the document xml; there should be no change in content of formatting.
Last edited by acknak on Wed Nov 16, 2016 9:03 pm, edited 1 time in total.
Reason: (removed attached file)
Reason: (removed attached file)
AOO4/LO5 • Linux • Fedora 23
-
- Posts: 5
- Joined: Wed Nov 16, 2016 11:18 am
- Location: Poland
Re: File format error found at SAXParse
Thank you so much guys! And I'm sorry for being such a problem.
LibreOffice 5.2 on Windows 10
Re: [Solved] File format error found at SAXParse
LO 6.4.4.2, Windows 10 Home 64 bit
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.