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]

Reply via email to