Re: [xml-dev] Fast validating XML parser

From
Philippe Poulard <>
To
"Llacuna, Phillip V" <>
Date
2007-10-23T08:02:54Z
ID
<>
Thread
Re: [xml-dev] Fast validating XML parser
Llacuna, Phillip V a écrit :
> 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?
> 

hi,

why not store your documents inside a native XML database ?

-you'd have to parse your documents only once (+ each time you update 
one) when you load the database : at this stage the performances are not 
critical

-you could access the entire collection with XQuery that allow to 
extract what is expected in your application ; at this stage no further 
parsing is needed

for example :
http://exist-db.org/

-- 
Cordialement,

               ///
              (. .)
  --------ooO--(_)--Ooo--------
|      Philippe Poulard       |
  -----------------------------
  http://reflex.gforge.inria.fr/
        Have the RefleX !