Bug 49153

Summary: CTVectorVariant class missing from poi-ooxml-schemas.jar
Product: POI Reporter: Antoni Mylka <antoni.mylka>
Component: POI OverallAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 3.7-dev   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Attachments: A patch that fixes the issue for me
a test case, to be placed in test-data/document

Description Antoni Mylka 2010-04-19 11:21:36 UTC
Created attachment 25324 [details]
A patch that fixes the issue for me

As far as I understand the build.xml jar in POI the poi-ooxml-schemas jar is constructed by taking all the relevant classes from ooxml-schemas.1.0. This is done by a class called OOXmlLite, which runs the unit tests and looks which classes have been loaded.

Unfortunately the CTVectorVariant class doesn't seem to be referenced from any unit test, that is why it is not loaded to poi-ooxml-schemas.

I created a unit test class that uses the CTVectorVariant. This allows it to be discovered by OOXmlLite, The patch is attached.
Comment 1 Antoni Mylka 2010-04-19 11:22:32 UTC
Created attachment 25325 [details]
a test case, to be placed in test-data/document
Comment 2 Yegor Kozlov 2010-04-20 06:28:57 UTC
Fixed in r935860

Yegor