Many thanks man you’re an action hero!
I have exactly the same error message as Sergiosooto with an .odt file saved as .docx. Obviously I don’t have an .odt version, otherwise it would be too easy! If I send my document, could someone please help me? I’m a total computer nerd. Thanks in advance.
I’ve saved it on my computer now could you perhaps remove it from here? Thanks again!
Perhaps you should start a new question, with your document attached, as this one appears to be solved. Include the full text of the error message in your question, please.
Although it may appear similar, it is likely that your problem is not exactly the same as this one.
That’s very kind of you, but in the meantime, I found another (more ‘rustic’) solution.
VB2K
I need your help. URGENTE! preciso de ajuda. Os detalhes do erro são: SAXException: [word/footer17.xml line 2]: Opening and ending tag mismatch: p line 2 and hyperlink
Please note that, despite some superficial similarity of the error message, the problem in your file is very different from what was in the document of OP. In your document, the word/document.xml
contains a recurring erratic pattern like
<w:del ...><w:sdt><w:sdtPr><w:id w:val="..."/></w:sdtPr><w:sdtContent></w:del>...</w:sdtContent></w:sdt>
where w:del
is positioned erroneously - it starts before w:sdt
starts, it ends before w:sdtContent
and w:sdt
end - but after w:sdtContent
starts.
It obviously related to tracking changes; and possibly the proper placement would be around the whole w:sdt
; or maybe around w:sdtPr
. Hard to say. But given the count of the problematic pieces, I can’t invest into rectifying it manually, and testing the different options. Maybe my explanation could help you do that yourself.
It would be very important to get a sample document (ODT) that would break like that when saved as DOCX - only then we could reproduce, find the error in code, and fix.
Thank you very much for the explanation!!! I will try to do it manually then
boa noite
estou com mesmo problema consegue me ajudar?
SAXException: [word/document.xml line 2]: Opening and ending tag mismatch: p line 2 and hyperlink
so que não estou conseguindo anexar o arquivo
Dear robleyd,
I’ve the same problem as @Sergiosooto. Please help me.
This is my file :
OdOC.docx (72.3 KB)
Hi Everyone
I hope someone can help me.
I’ve the same problem as @Sergiosooto. Please help me.
If I proceed trying to import the data I lose most of my work
please help me
Don’t use old versions. New versions are released because bugs get fixed. tdf#149996 was fixed in 7.5.3.
i’m so grateful. thank you
Hi! I’m a same problem, i readed the posts but don’t understand how solution. Help me please?
(11.06.2023) Dissertação Andressa Roana.docx (67.9 KB)
@mikekaganski
Hi! I get this message too. The original document is a docx that is uploaded to dropbox to work in a shared folder. I’ve been working like that without problems but since the last time I modified the document, I get this error and we can’t open it in any computer or program. It is a very heavy doc (34 MB). Could you help me? This is the message: An error occurred during opening the file. This may be caused by incorrect file contents.
The error details are:
SAXException: [word/document.xml line 2]: Opening and ending tag mismatch: sdtContent line 0 and del
Proceeding with import may cause data loss or corruption, and application may become unstable or crash.
Only if you provided the document.