Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 15688 invoked from network); 8 Mar 2006 10:29:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Mar 2006 10:29:13 -0000 Received: (qmail 45845 invoked by uid 500); 8 Mar 2006 10:29:12 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 45804 invoked by uid 500); 8 Mar 2006 10:29:12 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 45793 invoked by uid 99); 8 Mar 2006 10:29:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Mar 2006 02:29:12 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Mar 2006 02:29:11 -0800 Received: by ajax (Postfix, from userid 65534) id 6B82FD49FB; Wed, 8 Mar 2006 10:28:50 +0000 (GMT) From: bugzilla@apache.org To: dev@ant.apache.org Subject: DO NOT REPLY [Bug 32791] - xmlvalidate task fails with multiple files. In-Reply-To: X-Bugzilla-Reason: AssignedTo Message-Id: <20060308102850.6B82FD49FB@ajax> Date: Wed, 8 Mar 2006 10:28:50 +0000 (GMT) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32791 ------- Additional Comments From homer.pichler@gmx.net 2006-03-08 10:28 ------- There is a performance problem when validating a lots of XML files against a large schema that can be fixed with a xerces2 "grammar-pool". See http://www-128.ibm.com/developerworks/xml/library/x-perfap3.html#N1017A I took the CVS source of XMLValidate.java, removed the XmlConstants lookup to make it compilable under ant 1.6.5 and added a grammar pool. This did speed up our validation of 6500 files from 5 minutes to 1 minute and allows us to stay with ant 1.6.5 and replacing only XMLValidate in ant-nodeps.jar. Perhaps other people find it useful and the cache becomes an official (perhaps optional) feature of the next ant release. regards, Michael Pichler -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org