XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
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

I suspect that an off-the-shelf parser like Xerces is quite fast enough if your application invokes it intelligently. You might find parsers that are 20% faster than that, but I think the order-of-magnitude improvement will come by changing your application architecture: in particular, change the driving code from Javascript to Java.
 
Xerces has a fairly high start-up cost so it's worth reusing the parser for multiple documents. However, that's more of a factor when your files are 200 bytes rather than 50K bytes.
 
Michael Kay
http://www.saxonica.com/


From: Llacuna, Phillip V [mailto:phillip.v.llacuna@lmco.com]
Sent: 22 October 2007 19:32
To: xml-dev@lists.xml.org
Subject: [xml-dev] Fast validating XML parser

Hi:

 

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?

 

Phillip Llacuna

Multi-media Design Engineer

Lockheed Martin

Ph:   (651) 456-7152

Fax: (651) 456-2643

 



[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