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.
Here is a link to the document (it is very heavy so I do not know how else I can send it):
Cambiar el final del archivo de .docx a .zip
abierto en un descomprimido
Busque el archivo document.xml y comments.xml en la carpeta de Word
El texto está en este archivo.
abrir en el editor de texto
Tomará trabajo, pero puede recuperarse.
Atención: Trabaje con .odt, al final si es necesario guarde una copia como docx.
Change the ending of the file from .docx to .zip
open in an unzipped
Locate the document.xml and comments.xml file in the word folder
The text is in this file.
open in text editor
It will take work, but you can recover.
Attention: Work with .odt , at the end if necessary save a copy as docx.
Please can anyone help me with my docx please ? I have the same problem…