[xml] Is there any socket support?
- From: stan boehm philips com
- To: <xml rufus w3 org>
- Subject: [xml] Is there any socket support?
- Date: Tue, 20 Mar 2001 21:15:08 -0600
I have been trying to use "xmlCreatePushParserCtxt" and
"xmlParseChunk" to read from a socket stream. After my code reads
approximately 1000 docs from the stream anywhere in size form
100 to 7000 bytes it always fails with parse error 4, 5 etc.
There must be a better way. I have been listening in on your
discussions for about 2 months, but have not seen anything
discussed related to reading from streams, or I missed it if it was.
Once I thought I saw something related, but now I can not find it.
All the functions I found for reading from files seemed to be limited
to one file, after which the file is closed by libxml. Of course I
want my socket to remain open.
I am using libxml2-2.2.3.
Has anyone out there been down this road ?
I would appreciate any help or insight.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Stanley J. Boehm, Senior Software Engineer
Center for Industrial Technology
Sunnyvale, CA 94085-2810
Phone: (408) 617-2483 E-mail: Stan Boehm philips com
FAX : (408) 617-7711
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]