Return-Path: X-Original-To: apmail-poi-dev-archive@www.apache.org Delivered-To: apmail-poi-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 105E011C33 for ; Wed, 6 Aug 2014 10:31:18 +0000 (UTC) Received: (qmail 76902 invoked by uid 500); 6 Aug 2014 10:31:17 -0000 Delivered-To: apmail-poi-dev-archive@poi.apache.org Received: (qmail 76860 invoked by uid 500); 6 Aug 2014 10:31:17 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 76849 invoked by uid 99); 6 Aug 2014 10:31:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Aug 2014 10:31:17 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yaniv.kunda@answers.com designates 209.85.217.175 as permitted sender) Received: from [209.85.217.175] (HELO mail-lb0-f175.google.com) (209.85.217.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Aug 2014 10:31:14 +0000 Received: by mail-lb0-f175.google.com with SMTP id 10so1718750lbg.20 for ; Wed, 06 Aug 2014 03:30:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:content-type :content-transfer-encoding; bh=TkB4iPsJrk/ozIATNf/fjxVelj4gnk4ONSXb+1gc2kw=; b=JgsfvnLEXa1a7f85TDPnrGZthGKA/++Iy+I0Rs48kUAdK6c7NlGeJy5pY7l3N1vsp0 MyL1Qx8+ip40QvkLKaPl7cyNctl9zpta8EIMslsGKxr96SASJcPreN1FvoRoemw3DLxs 4Do48fCR+h5qxlR4eB5nTTXYsyANHZ2K1i4l/g3HssiB6wi3hXS/n4NePehbfgaJrzO1 MFXAejJrwxQfzYdzo86xoLMBEMJdchi86ikHYsQNM0f+itxVoX0ig17PqHpd8RJVDMrK i49SabvYc0/GU9BaGcnRwjXzZwzhWRXOPNduioAAnRQwwCchBtYuOb86XvaHOuAPsSjQ vQ9A== X-Gm-Message-State: ALoCoQkuzXFZfShfIRl2fQvcZpfLN754WdqeldOxzfKihZGDUvhD6ZgTfe4ZYRq8fpL2ilgSeIul X-Received: by 10.152.36.135 with SMTP id q7mr10463766laj.42.1407321049849; Wed, 06 Aug 2014 03:30:49 -0700 (PDT) From: Yaniv Kunda References: <53DFFC99.1070008@gmx.de> <12cd0981f36c7a8c0e27640c43849219@mail.gmail.com> In-Reply-To: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQLggtemhPdAM2s5etQcEhHjHhqm/QJusnlmAdLt5aMCLv6qypluOEQg Date: Wed, 6 Aug 2014 13:30:46 +0300 Message-ID: <4eaaac619e6aae343193aac30921b2c1@mail.gmail.com> Subject: =?UTF-8?Q?RE=3A_Performanc=E2=80=8Be_issues_related_to_XMLBeans?= To: POI Developers List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org The fact that you described the XMLBeans proxy objects as "leaking" through the API says it all - they should have been encapsulated from the start. If you add the facts that: - the XMLBeans project is dead (in the attic for over a year, reboot is stuck) - we have/had so many issues with it - it might be an overkill in regards to unnecessary (or even broken) thread-safety The conclusion that it should be replaced at some point, but for the shorter term be hidden and only used as an internal implementation. The best way to do that in light of its existing exposure is to deprecate i= t and provide a new alternative wrapper that will eventually supersede it. -----Original Message----- From: Nick Burch [mailto:apache@gagravarr.org] Sent: Tuesday, August 5, 2014 12:09 To: POI Developers List Subject: RE: Performanc=E2=80=8Be issues related to XMLBeans On Tue, 5 Aug 2014, Yaniv Kunda wrote: > I'll try to have some patches out soon. I'd suggest you pick one or two places only, pick a few documents of varyin= g size complexity, and post average performance before and after. No point updating the code if it doesn't actually help much! > In regards to XMLBeans replacement, I naturally prefer to use JAXB > which does not require any additional libraries - Unless it poses some > limitations on what POI needs. We have the XMLBeans objects leaking through the API in various places, and a whole bunch of our users needing that to do what they do. Much as I'd lov= e all of those people to instead submit a patch to POI which wraps that functionality up in a nice usermodel interface with the xml handling stuff hidden inside, I just can't see most of them bothering. Unless we could get JAXB to be binary compatible with XMLBeans, I can't see us being able to switch it because it'd just break too much downstream Thanks Nick --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org For additional commands, e-mail: dev-help@poi.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org For additional commands, e-mail: dev-help@poi.apache.org