https://bugs.documentfoundation.org/show_bug.cgi?id=158349

--- Comment #7 from Aron Budea <[email protected]> ---
(In reply to Roman Kuznetsov from comment #2)
> SAXException: [word/footnotes.xml line 2]: unknown error at
> C:/cygwin/home/tdf/jenkins/daily_workspace/tb/src_master/sax/source/
> fastparser/fastparser.cxx:604
What one can do in this case to get a more accurate location in the file is:
- unzip the OOXML file,
- in Linux/Cygwin have xmllint installed, and run the following in the
subdirectory where the extracted content is:
  find . -name "*.xml" -type f -exec xmllint --output '{}' --format '{}' \;
- rezip the extracted files, give it the correct OOXML extension (eg. .docx),
and open it in LO again.

Now the error says this:
"File format error found at 
SAXParseException: '[word/footnotes.xml line 183]: unknown error', Stream
'word/footnotes.xml', Line 183, Column 1
SAXParseException: '[word/document.xml line 1088]: unknown error', Stream
'word/document.xml', Line 1088, Column 17(row,col)."

word/footnotes.xml line 183 is the end of the file, which isn't particularly
helpful.
word/document.xml line 1088, column 17 points to the beginning of this element:
<w:color w:val="839E25"/>

Neither of those made sense at first sight, but perhaps it will to the person
eventually looking at this bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to