Bug 63609

Summary: CTMailMerge missing in poi-ooxml-schemas.jar 4.1
Product: POI Reporter: Rabea Gransberger <rgransberger>
Component: POI OverallAssignee: POI Developers List <dev>
Severity: normal    
Priority: P2    
Version: 4.0.0-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description Rabea Gransberger 2019-07-25 09:23:49 UTC
The org.openxmlformats.schemas.wordprocessingml.x2006.main.CTMailMerge class is missing in org.apache.poi:poi-ooxml-schemas:jar:4.1.0 while it is contained in org.apache.poi:ooxml-schemas:jar:1.4.

It is used by org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSettings.getMailMerge which can not be used with the poi-ooxml-schemas.jar

poi-ooxml-schemas.jar is distributed in the zip for POI 4.1 while ooxml-schemas.jar is not. I'm using the latter now.
Comment 1 PJ Fanning 2019-07-25 17:11:52 UTC
CTMailMerge doesn't seem to be used in POI. poi-ooxml-schemas is a subset of ooxml-schemas with the classes POI needs.
Comment 2 PJ Fanning 2019-07-26 12:37:42 UTC
Closing as invalid. Please reopen if you find POI code that uses the CTMailMerge class.
Comment 3 Tim Allison 2019-07-26 13:57:30 UTC
If this is causing a failure to parse a document, tho, we should add a document that contains this element into our unit tests, and the class will be automatically added to our subset.  Right?
Comment 4 PJ Fanning 2019-07-26 17:08:39 UTC
Tim - the user's bug description does not say if they have an issue parsing a docx file. If there is a test docx file that demos a parse issue, then we can reopen this and add CTMerge to poi-ooxml-schemas.
Comment 5 Rabea Gransberger 2019-07-29 15:55:49 UTC
I filed a new bug to show what I am doing with MailMerge.

Would it be possible to add some information in the distribution and the META-INF of the poi-ooxml-schemas.jar from which original version it was build?