Return-Path: Delivered-To: apmail-xml-general-archive@www.apache.org Received: (qmail 3125 invoked from network); 29 Apr 2004 09:50:15 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 29 Apr 2004 09:50:15 -0000 Received: (qmail 55582 invoked by uid 500); 29 Apr 2004 09:49:42 -0000 Delivered-To: apmail-xml-general-archive@xml.apache.org Received: (qmail 55542 invoked by uid 500); 29 Apr 2004 09:49:42 -0000 Mailing-List: contact general-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: general@xml.apache.org Delivered-To: mailing list general@xml.apache.org Delivered-To: moderator for general@xml.apache.org Received: (qmail 39314 invoked from network); 29 Apr 2004 09:34:02 -0000 Message-ID: <3655.192.168.1.98.1083231271.squirrel@mail> Date: Thu, 29 Apr 2004 15:04:31 +0530 (IST) Subject: bug in crimson jar(1.1.3) From: To: X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-Mailer: SquirrelMail (version 1.2.7) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, There is a bug in crimson jar(1.1.3) in the following file. org\apache\crimson\parser\InputEntity.java, in the method // public void init(InputSource in, String name, InputEntity stack, // boolean isPE) throws IOException, SAXException //reader = XmlReader.createReader(url.openStream()); // line no 208 but url.openStream() method takes a lock on the url, if url is a file url we can not delete this till JVM exits. we can suppress this locking by doing so //---------------------- URLConnection urlConnection = url.openConnection(); urlConnection.setUseCaches(false); inputStream = urlConnection.getInputStream(); reader = XmlReader.createReader(inputStream); //-------------------------- if you want me to send the patch file, pl let me know. regards, Sato. --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@xml.apache.org For additional commands, e-mail: general-help@xml.apache.org