Return-Path: Delivered-To: apmail-xml-commons-dev-archive@www.apache.org Received: (qmail 78481 invoked from network); 6 Jun 2005 14:41:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jun 2005 14:41:01 -0000 Received: (qmail 38663 invoked by uid 500); 6 Jun 2005 14:41:01 -0000 Delivered-To: apmail-xml-commons-dev-archive@xml.apache.org Received: (qmail 38629 invoked by uid 500); 6 Jun 2005 14:41:00 -0000 Mailing-List: contact commons-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list commons-dev@xml.apache.org Received: (qmail 38610 invoked by uid 99); 6 Jun 2005 14:41:00 -0000 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from e5.ny.us.ibm.com (HELO e5.ny.us.ibm.com) (32.97.182.145) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 06 Jun 2005 07:40:58 -0700 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e5.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j56EedBx004129 for ; Mon, 6 Jun 2005 10:40:39 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay02.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j56Eec1i215554 for ; Mon, 6 Jun 2005 10:40:38 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j56EeS7e022707 for ; Mon, 6 Jun 2005 10:40:28 -0400 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [9.26.6.104]) by d01av03.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j56EeSeF022424; Mon, 6 Jun 2005 10:40:28 -0400 In-Reply-To: <42A415E2.9010702@sun.com> To: commons-dev@xml.apache.org Cc: Neeraj.Bajaj@Sun.COM MIME-Version: 1.0 Subject: Re: Remaining work for JAXP 1.3 APIs X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 Message-ID: From: Michael Glavassevich Date: Mon, 6 Jun 2005 10:40:17 -0400 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 6.53HF247 | January 6, 2005) at 06/06/2005 10:40:28, Serialize complete at 06/06/2005 10:40:28 Content-Type: text/plain; charset="US-ASCII" X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Neeraj Bajaj wrote on 06/06/2005 05:22:42 AM: > > > Michael Glavassevich wrote: > > > A > >diff [4] between the latest copies on the main branch and tck-jaxp-1_2_0 > >shows some other differences, most notably how the jaxp.properties file is > >cached. The code on the main branch will read and cache the > >jaxp.properties file once whereas on the tck-jaxp-1_2_0 branch it will > >reload it if the jaxp.properties file was modified since it was read > >(which to me appears to be a more desirable behaviour). > > > > > Former is the correct behavior. As per the spec. jaxp.properties should > be read only once. > http://java.sun.com/j2se/1.5. > 0/docs/api/javax/xml/parsers/SAXParserFactory.html#newInstance() Interesting. The previous version of the spec didn't have this statement [1] appearently giving implementations the freedom to choose their own caching strategy. [1] http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/parsers/SAXParserFactory.html#newInstance() > - Neeraj > Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: mrglavas@ca.ibm.com E-mail: mrglavas@apache.org