Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.