Sorry it's been a while. With crimson I am using the DOMEcho sample program. It takes 3s with DOMEcho <xml file> and much much longer (hours?) with DOMEcho -v <xml file>. This is true whether I use crimson.jar or xercesImpl.jar from the 2.0 Beta4 release. Either way it runs in < 10s with the Writer example from Xerces 2.0 Beta4 release. Perhaps that one doesn't really validate if -v is turned on? I would be happy to send along the xml file and dtd if that would help. It's the standard uml13.dtd file and a pretty small class model (< 2000 lines) in the XML file.
Cheers Edwin Goei wrote: > > Jay Walters wrote: > > > > Iam finding that Crimson is very slow at performing validating parsing > > of a specific XML input & DTD that I am using, where very slow is > > something like > 1000X slower when validating. Oddly enough I'm also > > seeing the same problems with Xerces 1.4 and 2.0 only if I use the Jaxp > > interfaces. If I go right into xerces and use the DOMParser class then > > it parses in a matter of a few seconds. > > Hmmm, this doesn't sound right b/c JAXP essentially wraps the Xerces > DOMParser class so you should get the same performance whether you go > through JAXP javax classes or Xerces DOMParser. Are you sure you have > validation turned on when using DOMParser directly? > > -Edwin > > --------------------------------------------------------------------- > In case of troubles, e-mail: [EMAIL PROTECTED] > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]