ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32791] - xmlvalidate task fails with multiple files.
Date Wed, 08 Mar 2006 10:28:50 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32791>.
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


Mime
View raw message