[jira] [Closed] (XMLBEANS-548) XmlDocumentProperties.setStandalone is ignored when saving
[ https://issues.apache.org/jira/browse/XMLBEANS-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] PJ Fanning closed XMLBEANS-548. --- Resolution: Fixed > XmlDocumentProperties.setStandalone is ignored when saving > -- > > Key: XMLBEANS-548 > URL: https://issues.apache.org/jira/browse/XMLBEANS-548 > Project: XMLBeans > Issue Type: Bug > Components: XmlObject >Affects Versions: Version 3.1.0 >Reporter: Manfred Schenk >Assignee: PJ Fanning >Priority: Major > Fix For: Version 4.0.0 > > Time Spent: 20m > Remaining Estimate: 0h > > If you set standalone = true on the documentProperties this flag is ignored > when saving the document to an xml file. > This has already been mentioned on the mailing list some years ago, there was > even a patch in the following mail > ([http://xmlbeans.996285.n3.nabble.com/How-to-add-standalone-attribute-tp657p660.html)] > that didn't make it into the official sources. > > Due to this error it is not possible to generate xml-files with xmlbeans > where standalone is set to "yes" in the first line of the file. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org
[jira] [Commented] (XMLBEANS-544) Command-line utilities rely on nonexistent xbean.jar file
[ https://issues.apache.org/jira/browse/XMLBEANS-544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17129412#comment-17129412 ] PJ Fanning commented on XMLBEANS-544: - References to xbean jar have been removed > Command-line utilities rely on nonexistent xbean.jar file > - > > Key: XMLBEANS-544 > URL: https://issues.apache.org/jira/browse/XMLBEANS-544 > Project: XMLBeans > Issue Type: Bug > Components: Tools >Affects Versions: Version 3.1.0 > Environment: Linux unit-725.msk.labs.intellij.net 4.9.0-8-amd64 #1 > SMP Debian 4.9.110-3+deb9u4 (2018-08-21) x86_64 GNU/Linux >Reporter: Andrey ``Bass'' Shcheglov >Priority: Major > Labels: easyfix > Fix For: Version 4.0.0 > > > I've downloaded the 3.1.0 binary release, and all command-line utilities > appear broken, as they rely on {{$XMLBEANS_LIB/xbean.jar}}, > {{$XMLBEANS_LIB/xmlbeans-qname.jar}} and {{$XMLBEANS_LIB/jsr173_1.0_api.jar}} > files, none of which is available any more. > The listing of my {{lib/}} directory is as follows: > * resolver.jar > * xmlbeans-3.1.0.jar > * xmlbeans-3.1.0-javadoc.jar > * xmlbeans-3.1.0-sources.jar > > Symlinking {{xmlbeans-3.1.0.jar}} to {{xbean.jar}} allows to work the problem > around, but it seems impossible noone has tested any of the tools before > making a release. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org
[jira] [Updated] (XMLBEANS-548) XmlDocumentProperties.setStandalone is ignored when saving
[ https://issues.apache.org/jira/browse/XMLBEANS-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] PJ Fanning updated XMLBEANS-548: Fix Version/s: 4.0.0 > XmlDocumentProperties.setStandalone is ignored when saving > -- > > Key: XMLBEANS-548 > URL: https://issues.apache.org/jira/browse/XMLBEANS-548 > Project: XMLBeans > Issue Type: Bug > Components: XmlObject >Affects Versions: Version 3.1.0 >Reporter: Manfred Schenk >Assignee: PJ Fanning >Priority: Major > Fix For: 4.0.0 > > Time Spent: 20m > Remaining Estimate: 0h > > If you set standalone = true on the documentProperties this flag is ignored > when saving the document to an xml file. > This has already been mentioned on the mailing list some years ago, there was > even a patch in the following mail > ([http://xmlbeans.996285.n3.nabble.com/How-to-add-standalone-attribute-tp657p660.html)] > that didn't make it into the official sources. > > Due to this error it is not possible to generate xml-files with xmlbeans > where standalone is set to "yes" in the first line of the file. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org
[jira] [Updated] (XMLBEANS-545) It's no longer possible to build xmlbeans from source
[ https://issues.apache.org/jira/browse/XMLBEANS-545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] PJ Fanning updated XMLBEANS-545: Fix Version/s: Version 4.0.0 > It's no longer possible to build xmlbeans from source > - > > Key: XMLBEANS-545 > URL: https://issues.apache.org/jira/browse/XMLBEANS-545 > Project: XMLBeans > Issue Type: Bug >Affects Versions: Version 3.1.0 > Environment: Linux unit-725.msk.labs.intellij.net 4.9.0-8-amd64 #1 > SMP Debian 4.9.110-3+deb9u4 (2018-08-21) x86_64 GNU/Linux >Reporter: Andrey ``Bass'' Shcheglov >Priority: Major > Fix For: Version 4.0.0 > > > I'm trying to build xmlbeans as described > [here|https://xmlbeans.apache.org/download/index.html#building] and receive > the following error: > {{-check-jars:}} > {{-fetch-jars:}} > {{process-resources:}} > {{BUILD FAILED}} > {{/export/public/distfiles/apache/xmlbeans/3.1.0/xmlbeans-3.1.0-src/build.xml:235: > The archive jam-0.1.0-src.jar doesn't exist}} > > No wonder because jam-0.1.0-src.jar is no longer available in the source tree. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org
[Bug 64508] New: java.lang.NumberFormatException: For input string: ""
https://bz.apache.org/bugzilla/show_bug.cgi?id=64508 Bug ID: 64508 Summary: java.lang.NumberFormatException: For input string: "" Product: POI Version: 4.1.2-FINAL Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: XSSF Assignee: dev@poi.apache.org Reporter: kov...@gmail.com Target Milestone: --- I'm using POI 4.1.2 on Ubuntu 20.04. The same problem occurs on POI 3.10.1, 3.17. These are the three version I tried. When I try to run the attached program I get: java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:592) at java.lang.Integer.parseInt(Integer.java:615) at org.apache.poi.xssf.usermodel.XSSFCell.getRichStringCellValue(XSSFCell.java:377) at org.apache.poi.xssf.usermodel.XSSFCell.getStringCellValue(XSSFCell.java:342) at com.kovi.poitest.Test.main(Test.java:26) What I could see is that the problem occurs in org.apache.poi.xssf.usermodel.getRichStringCellValue() where _cell.isSetV() returns true, but in fact should be false. I think this is wrong because isSetV() only checks if the element v is present. In example Excel file E2 is: so there is a v element, but it is empty. Test project is Maven based and you can run it from build folder: java -cp "poitest-1.0.0.jar:lib/*" com.kovi.poitest.Test TEST.xlsx -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org
[jira] [Closed] (XMLBEANS-544) Command-line utilities rely on nonexistent xbean.jar file
[ https://issues.apache.org/jira/browse/XMLBEANS-544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] PJ Fanning closed XMLBEANS-544. --- Fix Version/s: Version 4.0.0 Resolution: Fixed > Command-line utilities rely on nonexistent xbean.jar file > - > > Key: XMLBEANS-544 > URL: https://issues.apache.org/jira/browse/XMLBEANS-544 > Project: XMLBeans > Issue Type: Bug > Components: Tools >Affects Versions: Version 3.1.0 > Environment: Linux unit-725.msk.labs.intellij.net 4.9.0-8-amd64 #1 > SMP Debian 4.9.110-3+deb9u4 (2018-08-21) x86_64 GNU/Linux >Reporter: Andrey ``Bass'' Shcheglov >Priority: Major > Labels: easyfix > Fix For: Version 4.0.0 > > > I've downloaded the 3.1.0 binary release, and all command-line utilities > appear broken, as they rely on {{$XMLBEANS_LIB/xbean.jar}}, > {{$XMLBEANS_LIB/xmlbeans-qname.jar}} and {{$XMLBEANS_LIB/jsr173_1.0_api.jar}} > files, none of which is available any more. > The listing of my {{lib/}} directory is as follows: > * resolver.jar > * xmlbeans-3.1.0.jar > * xmlbeans-3.1.0-javadoc.jar > * xmlbeans-3.1.0-sources.jar > > Symlinking {{xmlbeans-3.1.0.jar}} to {{xbean.jar}} allows to work the problem > around, but it seems impossible noone has tested any of the tools before > making a release. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org
[jira] [Closed] (XMLBEANS-545) It's no longer possible to build xmlbeans from source
[ https://issues.apache.org/jira/browse/XMLBEANS-545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] PJ Fanning closed XMLBEANS-545. --- Resolution: Fixed Some fixes have been made and the build is smoother now > It's no longer possible to build xmlbeans from source > - > > Key: XMLBEANS-545 > URL: https://issues.apache.org/jira/browse/XMLBEANS-545 > Project: XMLBeans > Issue Type: Bug >Affects Versions: Version 3.1.0 > Environment: Linux unit-725.msk.labs.intellij.net 4.9.0-8-amd64 #1 > SMP Debian 4.9.110-3+deb9u4 (2018-08-21) x86_64 GNU/Linux >Reporter: Andrey ``Bass'' Shcheglov >Priority: Major > Fix For: Version 4.0.0 > > > I'm trying to build xmlbeans as described > [here|https://xmlbeans.apache.org/download/index.html#building] and receive > the following error: > {{-check-jars:}} > {{-fetch-jars:}} > {{process-resources:}} > {{BUILD FAILED}} > {{/export/public/distfiles/apache/xmlbeans/3.1.0/xmlbeans-3.1.0-src/build.xml:235: > The archive jam-0.1.0-src.jar doesn't exist}} > > No wonder because jam-0.1.0-src.jar is no longer available in the source tree. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org
[jira] [Updated] (XMLBEANS-539) Support for newer versions of Saxon as an XPath engine
[ https://issues.apache.org/jira/browse/XMLBEANS-539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] PJ Fanning updated XMLBEANS-539: Fix Version/s: Version 4.0.0 > Support for newer versions of Saxon as an XPath engine > -- > > Key: XMLBEANS-539 > URL: https://issues.apache.org/jira/browse/XMLBEANS-539 > Project: XMLBeans > Issue Type: Wish > Components: XPath >Reporter: Srecko Mandelj >Priority: Major > Fix For: Version 4.0.0 > > > It is still a limitation of using old version of Saxon to achieve xpath > search in XmlBeans. It would be nice to be able to use Saxon HE with > XmlBeans. Older versions of saxon (including early versions of HE prior to > 9.5) have problems with new versions of java (getting error > /lib/saxon9-xpath.jar/META-INF/services/javax.xml.xpath.XPathFactory:2: > Illegal configuration-file syntax at > java.xml/javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:119)). -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org
[jira] [Resolved] (XMLBEANS-539) Support for newer versions of Saxon as an XPath engine
[ https://issues.apache.org/jira/browse/XMLBEANS-539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] PJ Fanning resolved XMLBEANS-539. - Assignee: Andreas Beeker Resolution: Fixed > Support for newer versions of Saxon as an XPath engine > -- > > Key: XMLBEANS-539 > URL: https://issues.apache.org/jira/browse/XMLBEANS-539 > Project: XMLBeans > Issue Type: Wish > Components: XPath >Reporter: Srecko Mandelj >Assignee: Andreas Beeker >Priority: Major > Fix For: Version 4.0.0 > > > It is still a limitation of using old version of Saxon to achieve xpath > search in XmlBeans. It would be nice to be able to use Saxon HE with > XmlBeans. Older versions of saxon (including early versions of HE prior to > 9.5) have problems with new versions of java (getting error > /lib/saxon9-xpath.jar/META-INF/services/javax.xml.xpath.XPathFactory:2: > Illegal configuration-file syntax at > java.xml/javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:119)). -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org
[GitHub] [poi] pjfanning commented on pull request #182: Fix root property size calculation.
pjfanning commented on pull request #182: URL: https://github.com/apache/poi/pull/182#issuecomment-641356071 @netmackan is there any extra context you can give us on this issue? The code has probably never supported the scenario you seem to want to fix. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org
[Bug 64508] java.lang.NumberFormatException: For input string: ""
https://bz.apache.org/bugzilla/show_bug.cgi?id=64508 --- Comment #1 from Kovi --- Created attachment 37298 --> https://bz.apache.org/bugzilla/attachment.cgi?id=37298=edit Test project -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org