Re: Fast validating XML parser
On Mon, Oct 22, 2007 at 01:32:13PM -0500, Llacuna, Phillip V wrote: > We need a very fast validating XML parser and was wondering if anyone > has any suggestions? Our project involves one main XML file with about > 1200 supporting XML files (each about 50KB or less). Our current > environment calls on a java script to validate each file against the > DTD, but it is painfully slow to process the complete project. We > suspect that that the overhead in creating the java environment each > time the script is called is slowing down the process. I have searched > (and am still searching) the web for a good alternative. Any > suggestions? Several. It depends on platform to some extent. You could try libxml, though http://www.xmlsoft.org/ Another approach might be to use XInclude, and make a single XML document that includes all the others -- a tradeoff between memory and speed. Another might be to remember which documents were valid, e.g. by creating a file to indicate validity for each, and using a tool such as "make" to validate only those files that have changed since they were last checked. The Google.com approach might be to use 1200 PCs, each validating one file :-) Liam -- Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/ http://www.holoweb.net/~liam/ * http://www.fromoldbooks.org/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format