W3C home > Mailing lists > Public > www-lib@w3.org > October to December 2000

Re: Problem with XML examples showxml.c

From: <jose.kahan@w3.org>
Date: Tue, 19 Dec 2000 19:44:51 +0100 (MET)
Message-Id: <200012191844.TAA12207@tuvalu.inrialpes.fr>
To: Lauri-Alo Adamson <Lauri.Adamson@andmevara.ee>
CC: "'www-lib@w3.org'" <www-lib@w3.org>
Hello Lauri-Alo,

I compiled w3c-libwww-5.3.1 under HP-UX 11 with GNU C/C++
all went well. Then I tried XML example showxml.c all compiling
and linking went well.
But then I tried to run the program the following appeared
./showxml http://.../xmltest/testing.xml
Please give name of file to save in: (RETURN for [/tmp/testing.xml])
If you didn't see any tags then it is likely that your document wasn't xml
Why it want's write xml file into tmp catalog and it do not show any tags. I
tried with two xml files but the result was the same.
Here is my xml file I used.

I would say that the libxml sample application is an old one. Since it was
written expat's API changed a bit. It may take a small amount of tweaking
to make the application work again. You can see the rdf sample applications
(in the same directory) which work OK and they are also written on top
of expat. And I know that Art did some slight modifications on the examples
to make them work with the current expat.

Does someone in the list have time to look at this problem and eventually
fix it? I don't have much free time nowadays.

Received on Tuesday, 19 December 2000 13:44:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:53 UTC