[Libreoffice-bugs] [Bug 108649] New: HTML export should write what it can even if exception

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jun 20 13:31:56 UTC 2017


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

            Bug ID: 108649
           Summary: HTML export should write what it can even if exception
           Product: LibreOffice
           Version: 5.2.7.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: lgodard.libre at laposte.net

Created attachment 134163
  --> https://bugs.documentfoundation.org/attachment.cgi?id=134163&action=edit
this file leads to a failing xhtml export

The attached document has to be exported in xhtml

It contains textual information and a wmf image (possibly pathological)

The wmf image leads to an export failure and no html file is created despite
other textual information could be retrieved

expected : generate the xhtml output, even imperfect as it would be better than
nothing

To reproduce:

- GUI, xhtml export lead to a message box 'general failure'
- headless command line
$ soffice --headless --convert-to "html:XHTML Writer File:UTF8" --outdir ~/temp
 ~/temp/choke_wmf.docx
convert /home/lgodard/temp/choke_wmf.docx -> /home/lgodard/temp/choke_wmf.html
using filter : XHTML Writer File:UTF8
Entity: line 5: parser error : xmlSAX2Characters: huge text node
n/+bm5//m5uf/5ubn/+bm5//m5uf/5ubn/+bm5//m5uf/5ubn/+bm5//m5uf/5ubn/+bm5//m5uf/5ub
                                                                              
^
Entity: line 5: parser error : Extra content at the end of the document
n/+bm5//m5uf/5ubn/+bm5//m5uf/5ubn/+bm5//m5uf/5ubn/+bm5//m5uf/5ubn/+bm5//m5uf/5ub
                                                                              
^
Error: Please verify input parameters... (SfxBaseModel::impl_store
<file:///home/lgodard/temp/choke_wmf.html> failed: 0xc10)


Please note that the problem is not espacially the wmf image, but that other
information are not generated in case of error

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170620/0ff0acb9/attachment.html>


More information about the Libreoffice-bugs mailing list