Fun, in a way … and goes to show what an unreliable tool Word is :-} I'm very impressed with the Paste from Word feature, which I've found also lets me paste lists and table from works well with content from "grown-up" FrameMaker as well as Word.
I sha'n't try opening Jeff's self-destruct file … On 25 July 2014, Hussein Shafie <[email protected]> wrote: > On 07/25/2014 05:22 PM, Jeff Hooker wrote: > > > > I have attached a small sample of a large document that, in my version > > of XMLmind 6.0, utterly breaks the Paste From Word feature. I have yet > > to get the engineer responsible for this document to admit what he did, > > but I thought you might be interested in a sample. Since it also utterly > > violates all of PMC’s guidelines for Word documents, I’m not terribly > > interested in a fix for it; I am just submitting this sample as way of > > possibly improving the Paste From Word feature in future versions of the > > product. > > > > > Thanks. > > A docm being a docx containing macros, I didn't manage to open normally your > sample in my copy of Word 2007, and this, even after enabling macros. May be > I need to install an extra component in my copy of Word 2007 (VBA?). See > attached screenshots. It's all what I got. > > "Paste from Word" works by parsing the unfiltered HTML copied by Word to the > clipboard. This unfiltered HTML is of course always invalid beyond all > recognition. In the case of your table, the unfiltered HTML seems to be > invalid in new creative ways, which are completely unexpected by both > TagSoup, the HTML parser we use and by our "Paste From Word" feature. > > This causes "Paste From Word" to generate a DocBook/DITA/XHTML table which is > so broken that XXE crashes while rendering it. > > > -- > XMLmind XML Editor Support List > <[email protected]> > <http://www.xmlmind.com/mailman/listinfo/xmleditor-support> >
-- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

