<div dir="ltr"><div>Hi,</div><div><br></div><div>Our new parser is failing at couple of other places. After much debugging, I've identified the causes for these failures.</div><div><br></div><div>1. SigningTest::testOOXMLPartial</div><div>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.</div><div>I think the solution would be to somehow include these declarations in the event and then pass these declarations before calling startUnknownElement.</div><div>I copied the signature xml file and added it to our test case and it fails.</div><div><br></div><div>2. SwUiWriterTest::testAutoCorr</div><div>It fails with an uncaught exception of type com.sun.star.container.NoSuchElementException.</div><div>It fails at sw/qa/extras/uiwriter/uiwriter.cxx:1034, so I assume these statements</div><div><span class="" style="white-space:pre"> </span>pWrtShell->Insert("Bolt");</div><div><span class="" style="white-space:pre"> </span>pWrtShell->AutoCorrect(corr, cIns);</div><div>at line 1032 and 1033 is failing for some reason.</div><div>During the execution of those statements, LegacyParser is called with these two filters as document handlers.</div><div>com.sun.star.comp.Writer.XMLStylesImporter</div><div>com.sun.star.comp.Writer.XMLContentImporter</div><div><br></div><div>I couldn't find the implementation of these filters, so any help is appreciated.</div><div><br></div><div>Thanks,</div><div>Azeem</div>
</div>