Re: Adopt OpenJDK 11 support for running programs built with POI 3.15 and oracle JDK1.8

2020-12-31 Thread fannin...@apache.org
We would always recommend users use the latest release. POI 4.1.2. https://poi.apache.org/download.html You should not need to recompile the code. We would recommend using pre-built binaries or jars hosted on Maven Central. We would expect the code to run ok on Adopt OpenJDK 11.0.x - you will ne

Re: Convert HSSFWorkbook to doc,docx,pdf

2021-01-11 Thread fannin...@apache.org
https://poi.apache.org/apidocs/dev/org/apache/poi/hssf/converter/ExcelToHtmlConverter.html is the closest that I know of. You might have better success on stackoverflow.com. On Monday 11 January 2021, 09:43:50 GMT, Phạm Gia Hữu wrote: Hi Dev from Apache POI I have an issue about ex

Re: [VOTE] Apache POI 5.0.0 release (RC1)

2021-01-14 Thread fannin...@apache.org
In terms of the binaries, they seem fine to me. +1 On Wednesday 13 January 2021, 22:52:17 GMT, PJ Fanning wrote: One possible minor doc in issue in the bin zip. The docs folder in the bin zip does not have the api javadocs for v5.0. The equivalent page to https://poi.apache.org/api

Re: [Bug 65103] Java application cannot launch using JPMS and POI-OOXML 5.0.0

2021-02-01 Thread fannin...@apache.org
I don't know much about Jigsaw. I'm more of a Scala developer - and Java modules haven't really caught on in Scala community. But that 65103 issue looks like it could be an issue. We've added. a dependency to Batik and it brings in dependencies on Xalan and other jars that haven't been released

Re: poi-ooxml-lite 5.0.0

2021-02-02 Thread fannin...@apache.org
poi-ooxml-lite is a subset of poi-ooxml-full - there is a sources jar for  poi-ooxml-full https://repo1.maven.org/maven2/org/apache/poi/poi-ooxml-full/5.0.0/ On Tuesday 2 February 2021, 20:55:40 GMT, Nick Burch wrote: On Tue, 2 Feb 2021, Feiger, Dieter wrote: > I am locking for the

Re: XmlBeans changes / Make Batik optional

2021-02-21 Thread fannin...@apache.org
Hi Andi, I can have a look. I guess the main comparison would be to compare the generated source from xmlbeans 3 or 4 to what we would generate after the patch. If the POI code does not need any changes after the proposed xmlbeans change then it seems likely that the new approach is a good way t

XMLBeans command line scripts

2021-02-27 Thread fannin...@apache.org
Hi, The linux _setlib script did not work for me on my Macbook. I have modified it using  https://github.com/apache/xmlbeans/commit/1c1841ec068c921c7684db89a9b21e3a571825f0 Would anyone be able to try this on their machines? For instance, test with the scomp script for generating source files ba

Re: XmlBeans next release?

2021-03-03 Thread fannin...@apache.org
+1 On Wednesday 3 March 2021, 23:58:38 GMT, Andreas Beeker wrote: Hi Devs, as our POI build has some problems, I would at least try to make XmlBeans available via maven.org. If no-one objects, I would create a release candidate in the next few days. The version would be XmlBeans 5.

integration test failures

2021-03-14 Thread fannin...@apache.org
Hi, I'm at a bit of a loss as to why this failure has started happening. test-integration: [junitlauncher] [junitlauncher] Running org.apache.poi.stress.TestAllFiles [junitlauncher]    Failed: #762 poifs/unknown_properties.msg HPSF [junitlauncher]    Failed: #761 poifs/unknown_properties.msg HSMF

Re: gradle task order with imported ant build

2021-03-27 Thread fannin...@apache.org
Do you see this directive?: compileJava.dependsOn 'ant-compile-ooxml-xsds' This is controls the order of these 2 tasks. On Saturday 27 March 2021, 10:54:50 GMT, Andreas Beeker wrote: Hi Devs, this is driving me nuts ... -.- ... as noted in Dominiks build, when importing the ant bui

rat license check failing

2021-04-10 Thread fannin...@apache.org
Hi, This build failed -  https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/reports/rat/index.html The main build.gradle file goes out of its way to include 'build.javacheck.xml' in the rat check. This is not a checked-in file - so it surprises me that we'd want to check

extending APIs to offer alternatives where existing APIs can return null

2021-05-28 Thread fannin...@apache.org
An example is spreadsheet Workbook#getSheet(String name) -- which returns null if no sheet is found. We could add a method Workbook#getOptionalSheet(String name) -- which returns an instance of java.util.Optional. Is this work worthwhile? I can probably add a few methods like this but probably

Re: Version-Error in https://poi.apache.org/components/poi-jvm-languages.html#Scala+example

2021-06-10 Thread fannin...@apache.org
Thanks. I updated the docs online. On Thursday 10 June 2021, 15:31:56 IST, bernhard.eichin...@microdoc.com wrote: Hello, I found a little typo and a wrong version in https://poi.apache.org/components/poi-jvm-languages.html#Scala+example Update: // Add the POI core and OOXML suppor

Re: [VOTE] Apache XmlBeans 5.0.1 release (RC1)

2021-07-03 Thread fannin...@apache.org
+1 thanks for sorting out the release - xmlbeans 5.0.1 seems to work fine with trunk POI code On Saturday 3 July 2021, 03:58:24 IST, Alain FAGOT BÉAREZ wrote: +1 ⁣Obter o BlueMail para Android ​ Em 2 de jul de 2021 23:07, em 23:07, Andreas Beeker escreveu: >Hi *, > >I've prepared

Github Actions TestSignatureInfo failing

2021-07-04 Thread fannin...@apache.org
Hi, Does anyone know why TestSignatureInfo fails when run here? https://github.com/apache/poi/actions Seems like some crypto algorithms are disabled in the JVM. Could this be related to preventing crypto mining? - To unsubscr

non-ascii text in source files

2021-07-20 Thread fannin...@apache.org
Hi, Is it ok to start assuming the source in the POI project is UTF-8 encoded and to therefore support non-ASCII text directly instead of escaping the chars? I added  https://github.com/apache/poi/commit/0678b16f141980cb846c7e0e2c38cdcb25573867 - I can modify this to escape the non-ASCII text if

[ANNOUNCE] Apache XMLBeans 3.0.2 released

2018-10-29 Thread fannin...@apache.org
The Apache POI project is pleased to announce the release of Apache XMLBeans 3.0.2.  The POI team has taken over the ownership of XMLBeans.  This is a bug fix release. See the downloads page for binary and source distributions:  XMLBeans Download Note: The Apache Software Foundation uses an ex

Re: XDDFPieChartData broken in release 4.1.1 (signature changed)

2019-11-22 Thread fannin...@apache.org
Hi David, Apologies but the XDDF classes are still in beta and do not cover all uses cases - they are still a work-in-progress. https://stackoverflow.com/questions/54885970/how-to-generate-piechart-using-apache-poi-4-0-xddfchartdata-xddfpiechartdata-i The answer from Axel Richter might help you g

Re: Need guidance to resolve vulnerabilities for apache poi-ooxml-4.1.2.jar

2020-04-07 Thread fannin...@apache.org
Hi Swagatika,  This issue is already addressed in the latest development code and will be included in the next POI release. https://poi.apache.org/changes.html -- see the refernce to upgrading to xmlsec 2.1.5 Regards, PJ On Tuesday 7 April 2020, 16:24:33 GMT+2, Swagatika Pati wrote:

Re: Missing commons-compress jar in dist

2020-05-28 Thread fannin...@apache.org
I fixed the issue with commons-compress.jar. I notice that the build.xml assemble target has some other jars that we seem to want to include in the tar.gz but the wrong path is provided. I removed the junit line but can add it back if it is needed. The jaxb jars are also not being included.

Re: Next version? - was Re: Missing commons-compress jar in dist

2020-05-29 Thread fannin...@apache.org
In terms of next release, I think we should wait until xmlbeans is ready (presumably a v4.0.0 release) and release POI v5.0.0. If anything pressing needs release in the mean time, we can cherry pick some fixes on a branch derived from the POI 4.1.2 release tag and do an interim POI 4.1.3 releas

Re: Jigsaw / multi module / dependencies

2020-06-19 Thread fannin...@apache.org
Hi Andi, I might have time to pair with you. Email me if you want to arrange a time. Regards, PJ On Friday 19 June 2020, 18:20:40 GMT+2, Andreas Beeker wrote: Hi devs, I finally pull myself together and have a working version of XmlBeans and POI with the xmlschema files moved away

Re: Apache POI Example page is broken

2020-07-30 Thread fannin...@apache.org
I tidied up some of the links on the web site. The new 5.0.0 work involves moving around a lot of packages to make code more Jigsaw friendly. On Thursday 30 July 2020, 13:14:38 GMT+2, Nick Burch wrote: On Wed, 29 Jul 2020, Ivan Mladenov wrote: > it seems like Apache POI Examples web

Java 15 build

2020-09-21 Thread fannin...@apache.org
Hi, Javascript nashorn engine has been removed from Java 15. This breaks the ant build - which has a few bits of javascript. I tried setting up the script to use graal.js but still getting exceptions. Not much online about how to use graal.js with ant. I suspect that you need to put the graal.js j

Re: [VOTE] Apache XmlBeans 4.0.0 release (RC1)

2020-10-10 Thread fannin...@apache.org
+1 Thanks Andi for all the hard work on this and the poi 5.0.0 changes. On Saturday 10 October 2020, 00:34:53 IST, Andreas Beeker wrote: Hi *, I've prepared artifacts for the release of Apache XmlBeans (RC1). The most notable changes in this release are: * Jigsaw/JPMS support - la

Re: Java font fallback handling - Java 8 vs. 14

2020-11-15 Thread fannin...@apache.org
Hi Andi, I ran FontTest with some JDKs on my Macbook. All ran ok, with the fonts rendering alright in all cases. Oracle JDKs 8.0.252, 11.0.4. Zulu JDKs 11.0.7, 14.0.1, 15.0.0. On Sunday 15 November 2020, 18:50:10 GMT, Andreas Beeker wrote: Hi Devs, I have a problem with Java 8 vs. 14 r

Re: POI 5.0.0 - are we ready?

2020-12-02 Thread fannin...@apache.org
My view is that it's been a while since we last did a release. There shouldn't be any pressure to finish any work that is in progress but if we think the code base is stable enough, we could release what we have and do a 5.1.0 or 6.0.0 release in the near future. On Wednesday 2 December 20

Re: Nullability annotations

2020-12-02 Thread fannin...@apache.org
Thanks Marius for bringing up this topic. POI is quite an old code base and I think it is safe to assume that virtually any return type can be null and that inputs can often be null too. If we start annotating the code, we would probably need to cover as many methods as possible because it woul

Re: Update to ECMA-376 3rd edition - provide ooxml-schema with every release

2020-12-10 Thread fannin...@apache.org
+1 to both changes On Thursday 10 December 2020, 20:35:24 GMT, Andreas Beeker wrote: Hi Devs, I've upgrade the schemas to the 3rd edition and "ant test test-integration" is green - see #56205 with a lots of local modifications. a) How about pushing it to the trunk? Pro: our used sc

Re: Logging

2020-12-13 Thread fannin...@apache.org
The POILogger is actually a reasonably good implementation. default void log(int level, Object... objs) { if (!check(level)) return; https://github.com/apache/poi/blob/trunk/src/java/org/apache/poi/util/POILogger.java This is basically what slf4j and log4j do too. The objs will not be append

[ANNOUNCE] Apache XMLBeans 3.0.1 released

2018-08-27 Thread fannin...@apache.org
The Apache POI project is pleased to announce the release of Apache XMLBeans 3.0.1.  The POI team has taken over the ownership of XMLBeans.  Featured are a handful of security related fixes.  See the downloads page for binary and source distributions:  XMLBeans Download Note: The Apache Softwar