XLegacyFastParser - Errors

Mohammed Abdul Azeem azeemmysore at gmail.com
Mon Jul 11 04:52:26 UTC 2016


Hi,

Our new parser is failing at couple of other places. After much debugging,
I've identified the causes for these failures.

1. SigningTest::testOOXMLPartial
The xml file parsed by ImplXMLSignatureListener filter is big and it
activates threading. When threading is enabled our namespace handler fails,
since namespace declarations passed are not in sync with the elements and
there is no way to identify which elements these declarations belong to.
I think the solution would be to somehow include these declarations in the
event and then pass these declarations before calling startUnknownElement.
I copied the signature xml file and added it to our test case and it fails.

2. SwUiWriterTest::testAutoCorr
It fails with an uncaught exception of type
com.sun.star.container.NoSuchElementException.
It fails at sw/qa/extras/uiwriter/uiwriter.cxx:1034, so I assume these
statements
pWrtShell->Insert("Bolt");
pWrtShell->AutoCorrect(corr, cIns);
at line 1032 and 1033 is failing for some reason.
During the execution of those statements, LegacyParser is called with these
two filters as document handlers.
com.sun.star.comp.Writer.XMLStylesImporter
com.sun.star.comp.Writer.XMLContentImporter

I couldn't find the implementation of these filters, so any help is
appreciated.

Thanks,
Azeem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20160711/7d054ca7/attachment.html>


More information about the LibreOffice mailing list