Xmlparsebuf

I have a large XML file. I want to know how to parse an XML file in pieces using the SAX API function xmlparsebuf.

We are actively looking at ways to reducing the memory footprint.
In reply to Don's last post in using the xmlparsebuf, our latest parser does release memory if instructions are followed properly. Feel free to post code listing that demonstrate the case where memory is not being released.
Thanks,
Oracle XML Team

Similar Messages

  • Return Code of xmlparsebuf

    Hi,
    I am using XML Parser for C v2.0.3.0.0 and has encountered a problem. I loaded an XML document to a buffer and called the function xmlparsebuf() to parse the buffer. I have also intentionally use an error document which part of the mandatory information is missing. When the buffer is parsed an error message with error code 103 is displayed. I expected it to return 103 as well but it only returns 0. Do you know what's wrong?
    Regards,
    Francis

    It could be a bug since the error code should be returned. Can you provide a sample XML document to reproduce this?

  • Xmlparsebuf() giving error

    I am invoking xmlparsebuf() from within a while loop for different xmls that I am trying to parse.
    The invocation works fine for several thousand calls, but then suddenly starts returning error code 2 for one call and all other subsequent calls.
    Anybody else facing the same problem ?
    Where can I get some documentation on what return error codes for xmlparsebuf() mean ? Please note than xmlinit() is working correctly before invoking xmlparsebuf() ?
    Thanks

    Can you provide the code you calling the functions?

Maybe you are looking for