daisy / word-save-as-daisy

"Save as DAISY" add-in for Microsoft Word
BSD 3-Clause "New" or "Revised" License
9 stars 5 forks source link

Paragraph closed without closing style when creating pagenums #35

Open NPavie opened 11 months ago

NPavie commented 11 months ago

The following exception was reported by the saveAsDaisy addin while converting a document to dtbook xml

Report

An error occured while converting a document to dtbook XML : La balise de début 'bdo' sur la ligne 2 à la position 287392 ne correspond pas à la balise de fin de 'pagenum'. Ligne 2, position 287427.

à Daisy.SaveAsDAISY.Conversion.Converter.Convert(DocumentParameters document, Boolean applyPostProcessing) dans F:\Nextcloud\Devs\word-save-as-daisy\Common\DaisyConverterLib\Converter.cs:ligne 337 à Daisy.SaveAsDAISY.Addins.Word2007.Connect.ApplyScript(Script pipelineScript, IConversionEventsHandler eventsHandler, ConversionParameters conversionIntegrationTestSettings) dans F:\Nextcloud\Devs\word-save-as-daisy\Word2007\DaisyWord2007AddIn\Connect.cs:ligne 755 - Inner exception : La balise de début 'bdo' sur la ligne 2 à la position 287392 ne correspond pas à la balise de fin de 'pagenum'. Ligne 2, position 287427.

à Daisy.SaveAsDAISY.Conversion.Converter.Convert(DocumentParameters document, Boolean applyPostProcessing) dans F:\Nextcloud\Devs\word-save-as-daisy\Common\DaisyConverterLib\Converter.cs:ligne 337 à Daisy.SaveAsDAISY.Addins.Word2007.Connect.ApplyScript(Script pipelineScript, IConversionEventsHandler eventsHandler, ConversionParameters conversionIntegrationTestSettings) dans F:\Nextcloud\Devs\word-save-as-daisy\Word2007\DaisyWord2007AddIn\Connect.cs:ligne 755

Details

Addin version - 2.8.0.0

NPavie commented 10 months ago

New report with another file tested :

An exception was reported by the saveAsDaisy addin.

Stacktrace:

   à Daisy.SaveAsDAISY.Conversion.Converter.Convert(DocumentParameters document, Boolean applyPostProcessing)
   à Daisy.SaveAsDAISY.Addins.Word2007.Connect.ApplyScript(Script pipelineScript, IConversionEventsHandler eventsHandler, ConversionParameters conversionIntegrationTestSettings)
   à System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   à System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   à Daisy.SaveAsDAISY.Conversion.Converter.Convert(DocumentParameters document, Boolean applyPostProcessing)
   à Daisy.SaveAsDAISY.Conversion.Converter.<>c__DisplayClass37_0.<Convert>b__0()
   à System.Threading.Tasks.Task`1.InnerInvoke()
   à System.Threading.Tasks.Task.Execute()
   à System.Xml.XmlTextReaderImpl.Throw(Exception e)
   à System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag)
   à System.Xml.XmlTextReaderImpl.ParseEndElement()
   à System.Xml.XmlTextReaderImpl.ParseElementContent()
   à System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   à System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   à System.Xml.XmlDocument.Load(XmlReader reader)
   à System.Xml.XmlDocument.Load(String filename)
   à Daisy.SaveAsDAISY.Conversion.WordToDTBookXMLTransform.MergeDocumentInTarget(DocumentParameters documentToMerge, XmlDocument mergeTarget)
NPavie commented 10 months ago

@prashantverma2014 the problem regarding the file आज की खास खबरें 3 January 2024.docx has been identified will be fixed for next test release.