Kazuko O. wrote:
I tried to convert a Word file to dita files by using w2x add-on.
If the Word file contains the style that is named "Normal +*",
the w2x stops the conversion and does not generate dita files.
Please try the attached file "test_normal+style.docx."
When you delete the "Normal +" style from that file,
w2x successfully generate dita files.
Does this follow the specifications of w2x?
No, this is clearly a bug. w2x seems to loop forever in:
---
com.xmlmind.w2x.docx.toxhtml.Styles.getPropsHierarchy(Styles.java:1691)
com.xmlmind.w2x.docx.toxhtml.Styles.inheritStyleProps(Styles.java:1621)
com.xmlmind.w2x.docx.toxhtml.Styles.finishStyles(Styles.java:1458)
com.xmlmind.w2x.docx.toxhtml.Styles.<init>(Styles.java:544)
com.xmlmind.w2x.docx.toxhtml.Translator.initPackage(Translator.java:967)
com.xmlmind.w2x.docx.toxhtml.Translator.translate(Translator.java:594)
com.xmlmind.w2x.processor.ConvertStep.process(ConvertStep.java:81)
com.xmlmind.w2x.processor.Processor.executeSteps(Processor.java:1309)
com.xmlmind.w2x.processor.Processor.process(Processor.java:1103)
com.xmlmind.w2x.processor.Main.main(Main.java:83)
---
We'll fix this bug in the next version of w2x. However please be kind
enough to send us an actual sample file making use of this kind of
"Normal +*" styles. The sample file you sent us is empty.
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support