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

classic Classic list List threaded Threaded
29 messages Options
12
Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=59268

            Bug ID: 59268
           Summary: Work on providing an updated version of XMLBeans
           Product: POI
           Version: 3.15-dev
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: POI Overall
          Assignee: [hidden email]
          Reporter: [hidden email]

We have a number of issues with the current version of xmlbeans, but
unfortunately the project is not maintained any more. We should try to do a
non-maintainer fix-upload from the attic. Let's start discussing this.

Information about attic non-maintainer uploads:
* Discussion should be started on the general-mailing list:
[hidden email],
http://mail-archives.apache.org/mod_mbox/attic-general/
* Page for XMLBeans: http://attic.apache.org/projects/xmlbeans.html
* JIRA:
https://issues.apache.org/jira/browse/ATTIC/?selectedTab=com.atlassian.jira.jira-projects-plugin:summary-panel

Current issues with the XMLBeans jar:

* It contains duplicate classes which causes issues on Android, see e.g.
https://github.com/andruhon/android5xlsx
* It includes classes from package javax which causes issues in Application
servers, see e.g.
http://stackoverflow.com/questions/18507605/caused-by-java-lang-linkageerror-loader-constraint-violation-when-resolving-m/36396611#36396611

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=59268

Dominik Stadler <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |58925

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=59268

Dominik Stadler <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |59195

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=59268

--- Comment #1 from Dominik Stadler <[hidden email]> ---
Comment from Nick in bug #59195: "Maybe we could get together with Tika and
Lucene, and ask the Attic PMC to let us put together a 2.6.1 release with the
packaging fix and some others, if someone fancies spending a little bit of time
to lead that?"

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=59268

--- Comment #2 from Dominik Stadler <[hidden email]> ---
Bonus points for looking at the following locking issue as well:
http://apache-poi.1045710.n5.nabble.com/Alternative-Replacement-for-xmlbeans-tt5722053.html

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=59268

--- Comment #3 from Dominik Stadler <[hidden email]> ---
Another thing that we can look at: bug 55149 - "Usage of XmlBeans triggers
"clearThreadLocalMap" warnings"

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=59268

Dominik Stadler <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|59195                       |
             Blocks|                            |55149, 59195

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=59268

--- Comment #4 from Dominik Stadler <[hidden email]> ---
there are a few commits on trunk after 2.6.0 that might be interesting here:

*
https://github.com/apache/xmlbeans/commit/4e918d97a03f6aa4355a4580933dca9bf23e80a0
*
https://github.com/apache/xmlbeans/commit/0d66e61968149809030bce123ea7a0ef58bccb83
*
https://github.com/apache/xmlbeans/commit/511d8ae119a7a0cc0d822e5997df1ffad3fe7677
*
https://github.com/apache/xmlbeans/commit/6cd06c9c9e0174190b593de7dec372d5cc123305

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=59268

--- Comment #5 from Dominik Stadler <[hidden email]> ---
The javax... classes are actually included via the stax-api dependency of
XMLBeans. This one should probably simply be removed together with depending on
Java 6 or higher.

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=59268

Dominik Stadler <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |59428
                 CC|                            |[hidden email]

--- Comment #6 from Dominik Stadler <[hidden email]> ---
*** Bug 59428 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=59268

--- Comment #7 from Dominik Stadler <[hidden email]> ---
*** Bug 59195 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=59268

Kurt Huwig <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=59268

Dominik Stadler <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |54084


Referenced Bugs:

https://bz.apache.org/bugzilla/show_bug.cgi?id=54084
[Bug 54084] Some Unicode chars(e.g chinese chars) are not written corectly in
xlsx file.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=59268

--- Comment #8 from Dominik Stadler <[hidden email]> ---
We also see some bugs related to Unicode handling inside XmlBeans, these are
also candidates for this effort, see e.g. bug 54084.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=59268

--- Comment #9 from PJ Fanning <[hidden email]> ---
I had a little trouble building xmlbeans so I made some small changes and
committed them to https://github.com/pjfanning/xmlbeans.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=59268

--- Comment #10 from PJ Fanning <[hidden email]> ---
I made a change on a fork that I have of xmlbeans and it allows the
testBug54084Unicode to pass
(https://github.com/pjfanning/xmlbeans/commit/b4dda3837421835b7a378c4ab83ce48a4c49fe59).

I have other branches on the xmlbeans fork where I go further and start
removing Piccolo parser, the JSR173 classes and the deprecated code supporting
XMLInputStream). These changes break 2 CDATA xmlbeans unit tests but this
doesn't seem to adversely affect the poi usage. They can probably be fixed
without too much effort.
The removal of the Piccolo parser would allow some tidy up in POI code (as it
has some workarounds to avoid using Piccolo).

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=59268

--- Comment #11 from PJ Fanning <[hidden email]> ---
Do we think it would be possible to issue an xmlbeans patch based on the
changes I've made in github?
The longer term solution is probably to replace xmlbeans.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=59268

--- Comment #12 from PJ Fanning <[hidden email]> ---
I have published a patched version of xmlbeans to Maven Central.
com.github.pjfanning:xmlbeans:2.6.1

I have a sample that shows the patched jar in action at
https://github.com/pjfanning/poi-xmlbeans-patch-test

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=59268

--- Comment #13 from Nick Burch <[hidden email]> ---
It'd be good to go through the xmlbeans bugzilla, and see if there are any
other bug fix patches there that'd be worth including in a fix release.

(Not to mention the duplicated classes in the 2.6.0 binary jar that ought to be
solved by a fresh build!)

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=59268

--- Comment #14 from PJ Fanning <[hidden email]> ---
My jar has the https://issues.apache.org/jira/browse/XMLBEANS-499 issue with
duplicate ReferenceResolver classes. I'll see if I can work out what in the
xmlbeans build is causing this.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

12