On Fri, 1 Jul 2011, Maxim Valyanskiy wrote:
This test works fine with full ooxml jar, but fails to work with ooxml-lite. I found that concrete implementation of CTTable is replaced with XmlAnyTypeImpl when we are working with ooxml-lite. It worth noting that XSLFCommonSlideData uses XmlCursor and XPath searches to find tables.
Sounds like the same issue I hit a while back with XWPF and pictures: https://issues.apache.org/bugzilla/show_bug.cgi?id=49934
Also I tried to remove XmlCursor/Xpatth searches from that code, but it did not found how to do it - CTGraphicalObjectData it some king of abstract interface. It has no method to get CTTable child object.
The issue seems to be triggered when moving from one namespace to another, eg word to graphics
There's a hack in XWPFRun to work around the case there, I think you might need to do the same
Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
