Return-Path: Mailing-List: contact general-help@xml.apache.org; run by ezmlm Delivered-To: mailing list general@xml.apache.org Received: (qmail 76874 invoked from network); 30 Nov 2000 02:04:58 -0000 Received: from fortress.aeat-esw.com (192.139.200.16) by locus.apache.org with SMTP; 30 Nov 2000 02:04:58 -0000 Received: from basin.aeathtl.com by fortress.aeat-esw.com via smtpd (for locus.apache.org [63.211.145.10]) with SMTP; 30 Nov 2000 02:04:58 UT Received: by basin.aeathtl.com with Internet Mail Service (5.5.2448.0) id ; Wed, 29 Nov 2000 19:04:54 -0700 Message-ID: From: "Arnold, Curt" To: "'general@xml.apache.org'" Subject: RE: C++ class to read an XML doc over a TCP connection? Date: Wed, 29 Nov 2000 18:57:41 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N This discussion might be better on the xerces-c-dev mailing list. This is off the top of my head, so you might get more definitive answers on the other mailing list and I can't answer in more detail. The parsers take an InputSource* as an argument. There are a couple of derived classes from InputSource in the Xerces project (LocalFileInputSource, MemBufInputSource, URLInputSource, etc). You are free to derive your own class from InputSource that gets the byte stream anyway that you want. URLInputSource uses classes derived from NetAccessor (I think) for each protocol. The support for a specific protocol (such as http:) will vary by platform. You can add and register, your own NetAccessor derived class if you want to add a new protocol.