https://bugs.documentfoundation.org/show_bug.cgi?id=150399
Bug ID: 150399 Summary: SAXException: GUI permits "ignore error", CLI has no feature. Product: LibreOffice Version: 3.3.0 release Hardware: x86 (IA32) OS: Linux (All) Status: UNCONFIRMED Severity: enhancement Priority: medium Component: Writer Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: arif...@gmail.com Description: Opening a .docx that may contain corrupt or invalid XML data in headless mode will fail to open, However, the GUI offers a dialogue that allows the user to ignore any errors and open anyway. I would like a commandline switch, such as `--ignore-errors` that allows the CLI to do a best effort, just as the GUI does, rather than failing with "Error: Source file could not be loaded" Steps to Reproduce: 1. run a corrupt .docx such as one found here: https://ask.libreoffice.org/t/help-saxexception-word-document-xml-line-2-attribute-w-cstheme-redefined/60704 with the command: `soffice --headless --invisible --nodefault --nofirststartwizard --nolockcheck --nologo --norestore --convert-to pdf <PATH_TO_FILE>` Observe the error: `Error source file could not be loaded` 2. Open an instance of LibreOffice GUI, then run the command again. When prompted, press "Yes" to ignore errors. 3. Command will exit successfully, and a pdf file has been created. Actual Results: No ability to successfully run command without GUI Expected Results: a flag such as `--ignore-errors` that will give the CLI the power to bypass such errors Reproducible: Always User Profile Reset: No OpenGL enabled: Yes Additional Info: . -- You are receiving this mail because: You are the assignee for the bug.