Re: XMLBeans in 4.0.0 release

2018-01-10 Thread Nick Burch

On Wed, 10 Jan 2018, pj.fanning wrote:
I don't fancy trying to merge the xmlbeans and poi ant builds. I've been 
trying for an hour or more and still getting issues.


There's no need to do this!

We'd keep the two codebases separate, and probably release at different 
times. (XMLBeans hardly ever, except when we find bugs) All that would 
happen is that we'd swap the group ID, add POI to the release names, and 
update the readme etc to refer to POI as the PMC providing the oversight


So, assuming we're releasing it as POI rather than getting it out of the 
attic:

 * Copy xmlbeans trunk in svn to
   https://svn.apache.org/repos/asf/poi/xmlbeans/trunk
 * Merge in the fixes
 * Update the bin/src packages to have poi in them, eg
   xmlbeans-poi-2.6.5-bin.zip
 * Update the poms to be under org.apache.poi rather than xmlbeans
 * Test, vote, release!

Or, if we want to take xmlbeans out of the attic, we'd do:
 * Vote to take it on
 * Wait for attic PMC to confirm
 * Get infra to unlock svn for xmlbeans
 * Merge in fixes
 * Test, vote, release!

Nick

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



Re: XMLBeans in 4.0.0 release

2018-01-10 Thread pj.fanning
I don't fancy trying to merge the xmlbeans and poi ant builds. I've been
trying for an hour or more and still getting issues.

If the major objection to the com.github.pjfanning:xmlbeans dependency is
that my name is in the groupId, I can request a new groupId from OSS
Sonatype. They require that you own the domain for the groupId that you
request, that's why is was easy for me to get `com.github.pjfanning`. I've
just created a new github organisation with the name `xmlbeans`. This would
allow me to request `com.github.xmlbeans` as a groupId. If this approach is
acceptable, I can move my xmlbeans repo to this org and I can invite other
users to be part of the org.



--
Sent from: http://apache-poi.1045710.n5.nabble.com/POI-Dev-f2312866.html

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 59268] Work on providing an updated version of XMLBeans

2018-01-10 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59268

Dominik Stadler  changed:

   What|Removed |Added

 CC||da...@mobile-360.com

--- Comment #27 from Dominik Stadler  ---
*** Bug 61988 has been marked as a duplicate of this bug. ***

-- 
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



[Bug 61988] POI depends on Apache xmlbeans which has been EOL since 2014

2018-01-10 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61988

Dominik Stadler  changed:

   What|Removed |Added

 Resolution|MOVED   |DUPLICATE

--- Comment #2 from Dominik Stadler  ---
Also bug 59268 handles this in bugzilla.

*** This bug has been marked as a duplicate of bug 59268 ***

-- 
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



[Bug 61987] Updating excel file opended with OPCPackage throws: OpenXML4JRuntimeException: Rule M2.4 exception

2018-01-10 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61987

--- Comment #2 from Alain Fagot Bearez  ---
Take care about the order you are closing the resources:


FileOutputStream outputStream = new
FileOutputStream("JavaBooks.xlsx");
workbook.write(outputStream);
outputStream.close();
workbook.close();

//inputStream.close();
pkg.close();


Otherwise you are trying to write into a package (document) that has been
closed.

This is a classical duplicate of
https://bz.apache.org/bugzilla/show_bug.cgi?id=60102

-- 
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



[Bug 61988] POI depends on Apache xmlbeans which has been EOL since 2014

2018-01-10 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61988

Nick Burch  changed:

   What|Removed |Added

 OS||All
 Status|NEW |RESOLVED
 Resolution|--- |MOVED

--- Comment #1 from Nick Burch  ---
Please see threads on the POI dev list such as
https://lists.apache.org/thread.html/8ad08d39e616e5a48cfbf1b12385711474dd3153e5ad650174f682d3@%3Cdev.poi.apache.org%3E
and
http://apache-poi.1045710.n5.nabble.com/DISCUSS-Getting-a-fixed-version-of-XMLBeans-td5729378.html
for discussions on the fix for this in Apache POI 4.0

-- 
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



[Bug 61988] New: POI depends on Apache xmlbeans which has been EOL since 2014

2018-01-10 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61988

Bug ID: 61988
   Summary: POI depends on Apache xmlbeans which has been EOL
since 2014
   Product: POI
   Version: 3.17-FINAL
  Hardware: PC
Status: NEW
  Severity: normal
  Priority: P2
 Component: POI Overall
  Assignee: dev@poi.apache.org
  Reporter: da...@mobile-360.com
  Target Milestone: ---

POI is dependent upon xmlbeans-2.6.0 which has been retired since 2014. 

Also, the xmlbeans-2.6.0.jar contains two copies of class
org.apache.xmlbeans.xml.stream.Location, which causes jarsigner to fail.

Somebody should either fix xmlbeans or move POI to use Apache Attic, as
advertised.

Thanks,
David

-- 
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



[Bug 61987] Updating excel file opended with OPCPackage throws: OpenXML4JRuntimeException: Rule M2.4 exception

2018-01-10 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61987

--- Comment #1 from raja  ---
Created attachment 35670
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35670&action=edit
inputfile

-- 
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



[Bug 61987] Updating excel file opended with OPCPackage throws: OpenXML4JRuntimeException: Rule M2.4 exception

2018-01-10 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61987

raja  changed:

   What|Removed |Added

Summary|Updating excel file opended |Updating excel file opended
   |OPCPackage throws:  |with OPCPackage throws:
   |OpenXML4JRuntimeException:  |OpenXML4JRuntimeException:
   |Rule M2.4 exception |Rule M2.4 exception
 OS||All

-- 
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



[Bug 61987] New: Updating excel file opended OPCPackage throws: OpenXML4JRuntimeException: Rule M2.4 exception

2018-01-10 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61987

Bug ID: 61987
   Summary: Updating excel file opended OPCPackage throws:
OpenXML4JRuntimeException: Rule M2.4 exception
   Product: POI
   Version: 3.16-FINAL
  Hardware: PC
Status: NEW
  Severity: blocker
  Priority: P2
 Component: XSSF
  Assignee: dev@poi.apache.org
  Reporter: cbenagara...@gmail.com
  Target Milestone: ---

Created attachment 35669
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35669&action=edit
ExcelFileUpdateExample1.java

Exception in thread "main"
org.apache.poi.openxml4j.exceptions.OpenXML4JRuntimeException: Rule M2.4
exception : this error should NEVER happen! If you can provide the triggering
file, then please raise a bug at
https://bz.apache.org/bugzilla/enter_bug.cgi?product=POI and attach the file
that triggers it, thanks!
at
org.apache.poi.openxml4j.opc.internal.ContentTypeManager.getContentType(ContentTypeManager.java:340)
at
org.apache.poi.openxml4j.opc.internal.ContentTypeManager.removeContentType(ContentTypeManager.java:253)
at
org.apache.poi.openxml4j.opc.OPCPackage.removePart(OPCPackage.java:1016)
at
org.apache.poi.openxml4j.opc.PackagePart.getOutputStream(PackagePart.java:526)
at
org.apache.poi.xssf.usermodel.XSSFWorkbook.commit(XSSFWorkbook.java:1832)
at
org.apache.poi.POIXMLDocumentPart.onSave(POIXMLDocumentPart.java:390)
at org.apache.poi.POIXMLDocument.write(POIXMLDocument.java:242)
at test.ExcelFileUpdateExample1.main(ExcelFileUpdateExample1.java:68)

-- 
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