Created attachment 34530 [details] triggering file On TIKA-2208, David Pilato shared a .vsdx that includes a class we aren't including in our stripped down ooxml-schemas: com.microsoft.schemas.office.visio.x2012.main.ConnectsType Let's add that file to our unit tests to avoid ClassNotFoundException. As a side note/question...I thought I remembered with xwpf, when a class wasn't found, we logged it but didn't throw a CNFE...am I remembering this correctly? If this is the case, do we need to modify our vsdx code to handle this?
If the full ooxml-schemas is used, is a CNFE thrown (making sure that the 2006 schemas are sufficient). Just add a unit test that includes ConnectsType and it will be included in poi-ooxml-schemas.
Y, adding the file to our unit tests fixes the problem. Will commit shortly. Thank you! Larger question though...am I remembering incorrectly that we used to handle missing beans via logging instead of allowing the CNFE? In short, does this point to a need to modify our ooxml-visio parser...or do we carry on with the current procedure...adding triggering files as people complain?
r1774638 If we need to modify our ooxml visio parser to log missing beans rather than throwing a CNFE, let's open a separate issue.
Doh...resolve
Double, doh! Needed to add @Test annotation to actually trigger the addition... r1788288