Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 17422 invoked from network); 27 Aug 2009 19:36:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Aug 2009 19:36:23 -0000 Received: (qmail 78358 invoked by uid 500); 27 Aug 2009 19:36:23 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 78340 invoked by uid 500); 27 Aug 2009 19:36:23 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 78330 invoked by uid 99); 27 Aug 2009 19:36:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 19:36:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 19:36:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7AFFF234C044 for ; Thu, 27 Aug 2009 12:35:59 -0700 (PDT) Message-ID: <2112295223.1251401759489.JavaMail.jira@brutus> Date: Thu, 27 Aug 2009 12:35:59 -0700 (PDT) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Subject: [jira] Resolved: (CXF-2397) Make use of ControlledValidationXmlBeanDefinitionReader optional depending upon existence of FastInfoSet.jar In-Reply-To: <374275846.1250613315258.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp resolved CXF-2397. ------------------------------ Resolution: Fixed Fix Version/s: 2.2.4 2.1.7 Assignee: Daniel Kulp > Make use of ControlledValidationXmlBeanDefinitionReader optional depending upon existence of FastInfoSet.jar > ------------------------------------------------------------------------------------------------------------ > > Key: CXF-2397 > URL: https://issues.apache.org/jira/browse/CXF-2397 > Project: CXF > Issue Type: Improvement > Components: Core > Affects Versions: 2.2.3 > Reporter: Mike Youngstrom > Assignee: Daniel Kulp > Fix For: 2.1.7, 2.2.4 > > > I work on a project where Classloader size and distribution size is rather important. So we're trying to keep our number of required dependencies to a minimum. > One area where we found this might be able to improve is in the use of ControlledValidationXmlBeanDefinitionReader and its dependence on FastInfoSet. It would be nice if an application who didn't wish to benefit from the improved startup time of ControlledValidationXmlBeanDefinitionReader could not use it if they wished. > I wonder if this could simply be a matter of checking in BusApplicationContext.loadBeanDefinitions() if com.sun.xml.fastinfoset.stax.StAXDocumentParser is on the classpath. If it's not then log a warning or an info about its absence and the potential performance impact then simply use a regular XmlBeanDefinitionReader instead? > Or perhaps in TunedDocumentLoader only use a com.sun.xml.fastinfoset.stax.StAXDocumentParser if fastinfoset is on the classpath. Otherwise use a default stax implementation? > This would allow me to make FastInfoSet an optional dependency in my project. > Mike -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.