From stefano@apache.org Mon Feb 28 20:58:39 2000 Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 42378 invoked from network); 28 Feb 2000 20:58:39 -0000 Received: from systemy.systemy.it (194.20.140.20) by locus.apache.org with SMTP; 28 Feb 2000 20:58:39 -0000 Received: from apache.org (pv13-pri.systemy.it [194.21.255.13]) by systemy.systemy.it (8.8.8/8.8.8) with ESMTP id UAA13373 for ; Mon, 28 Feb 2000 20:58:33 GMT Message-ID: <38BA944A.C1756BB3@apache.org> Date: Mon, 28 Feb 2000 16:29:14 +0100 From: Stefano Mazzocchi Organization: Apache Software Foundation X-Mailer: Mozilla 4.72 [en] (Win98; I) X-Accept-Language: it,en MIME-Version: 1.0 To: ant-dev@jakarta.apache.org Subject: Re: cvs commit: jakarta-ant/lib xml.jar References: <85256892.005A854E.00@d54mta04.raleigh.ibm.com> <002b01bf81a5$f08c59a0$83639681@ionic> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N James Duncan Davidson wrote: > > > What I would suggest is that we replace xml.jar with one based on a > > suitable subset of xerces.jar. At the same time we replace the logic in > > org.apache.tools.ant.Parser which currently looks for a properties file to > > attempt to dynamically load JAXP. If that is not found, we default to > > xerces. > > The defaulting out to Xerces isn't really necessary now that we have JAXP > support in Xerces. Just use the JAXP libraries and all it requires is that a > JAXP enabled browser (which Xerces is) be in your classpath. The logic > should catch a ClassNotFoundException on the initial call to create a > SAXParserFactory so that a reasonable error message saying "Put a JAXP > enabled browser such as Xerces or Project X into your classpath!" can be > output. +1 to this!!!! Let's enforce JAXP a little. -- Stefano Mazzocchi One must still have chaos in oneself to be able to give birth to a dancing star. Friedrich Nietzsche -------------------------------------------------------------------- Come to the first official Apache Software Foundation Conference! ------------------------- http://ApacheCon.Com ---------------------