[Libreoffice-bugs] [Bug 51726] RTF: Export RTF to xhtml produces duplicate text in output

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 13 20:00:08 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=51726

David Tardon <dtardon at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtardon at redhat.com

--- Comment #5 from David Tardon <dtardon at redhat.com> 2012-07-13 11:00:08 PDT ---
For anyone interested: the code is in
filter/source/xslt/odf2xhtml/export/xhtml/body.xsl and I think the problem is
in the template matching draw:frame at line 889. It calls template
createDrawFrame, which for some reason prints all the following siblings of the
frame wrapped by a div. But after the draw:frame template is finished, the
processing continues so the following siblings are processed (and printed)
again.

IHMO the best course of action is to abandon the crazy idea that XSLT is
suitable tool for processing ODF and rewrite the filter in C++.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list