OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] 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

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 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]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS