Hi,

I'm trying to use the Progressive Parse interface after loading and
validating an xsd file.  I reuse the same SAX2XMLReader object after
having loaded and cached the schema file with it.  For some reason,
progressive parse doesn't work at all like this...

        try
        {
                if ( !reader.parseFirst(szXmlFile, token) )
                        return false;

                bool bScan = true;

                while ( bScan )
                {
                        bScan = reader.parseNext(token);
                        
                        if ( namespace_handler.GetElementCount() > 2 )
                        {
                                break;
                        }
                }

                reader.parseReset(token);
        }

What could be wrong?

Thanks,

Elisha Berns
[EMAIL PROTECTED]
tel. (310) 556 - 8332
fax (310) 556 - 2839




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to