Title: Separate javax.xml classes from jython 2.7.0 standalone jar
Type: behaviour Severity: normal
Components: Library Versions: Jython 2.7
Milestone: Jython 2.7.2
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: chrislott, zyasoft
Priority: Keywords:

Created on 2016-02-25.21:58:27 by chrislott, last changed 2016-03-04.00:18:33 by zyasoft.

msg10791 (view) Author: Chris Lott (chrislott) Date: 2016-02-25.21:58:25
Please consider removing the java.xml classes from the jython-standalone-2.7 jar package and distributing them separately.  These were not present in the 2.5.4-rc1 jar.  If I understand correctly, they are present in Java-SE so should not be needed (?). 

When I upgraded from 2.5.4 to 2.7.0 other components started throwing this exception:

    Provider org.python.apache.xalan.processor.TransformerFactoryImpl not found

This issue may be related to another Python issue:

The failure is also discussed here in some detail (read way down):

The problem is easily reproduced.  In brief, I'm using embedding Jython in an Eclipse RCP that also uses Apache POI to read/write Excel spreadsheets.  The Poi component has to instantiate a Xalan to produce XLSX files.  When the Jython-2.7.0 jar file is present, Poi blows up with the exception shown above.  When the Jython-2.5.4-rc1 jar file is present, Poi works fine. I'll be happy to provide more detail if you need it.

Thanks for listening.
msg10792 (view) Author: Chris Lott (chrislott) Date: 2016-02-25.22:03:48
Forgot to mention: python-standalone-2.5.4-rc1 is about 10MB, 2.7.0 is about 35MB. Ouch, that's a big jump in size.
msg10798 (view) Author: Jim Baker (zyasoft) Date: 2016-03-04.00:18:33
2.7.2 should be able to address this, as we move to a Gradle based build that's compatible with current Maven practice.
Date User Action Args
2016-03-04 00:18:33zyasoftsetnosy: + zyasoft
messages: + msg10798
milestone: Jython 2.7.2
2016-02-25 22:03:49chrislottsetmessages: + msg10792
2016-02-25 21:58:27chrislottcreate