Hello, Apologies if this has already been asked. My application is based on a stateful protocol whose messages are encoded in XML. In other words, multiple top-level XML elements are sent between the server and client over a single connection. I want to use Xerces-c's DOM parser to read these elements. I've written an InputSource based on our socket library, but Xerces-c's DOM parser expects an end-of-file before it will return the top-level element. Can this parser be extended to optionally return the top-level element immediately after reading the end tag, or is this behavior inconsistent with DOM itself?
It appears that internal/XMLScanner would have to be modified to include a flag for this behavior. ------------------------------------------------------------------------ Joe Futrelle | "You guffawed, but for Ethel." -- Team Leader, Emerge | Malcolm St Helens Scientific Data Tech. / NCSA | http://emerge.ncsa.uiuc.edu/ |