Hi, you are using a very old parser which I dont even have the docs for. Can you upgrade to a more recent one?
Gareth On Mon, 16 Jun 2003, Shah, Neelay wrote: > Hi, > I have some C++ code which parses different XML documents on the same thread > one after the another. > I am using Xereces 1.5.1 parser. > > The following is my problem: > > When I call the parse() method I have observed that sometimes it take > a lot of time (approx. 3 min) before > it calls my "startElement" method. After that all the remaining > parse's are very fast. approx 3-4 seconds each. > The XML Documents are not very large also. > Generally, it hangs for 3 minutes during the second invocation. > > Have I missed out anything OR do I have to call a particular API () before > calling parse(). > > I have also tried adding the following code to avoid validating and make it > quicker but it did not work either: > > pSAXParser->setValidationScheme (SAXParser::Val_Never); > pSAXParser->setDoNamespaces (false); > pSAXParser->setDoSchema (false); > > Please Reply, > > Thanks, > Neelay > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- Gareth Reakes, Head of Product Development +44-1865-203192 DecisionSoft Limited http://www.decisionsoft.com XML Development and Services --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]