W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2001

RE: Novice starting with RDF

From: Terry R. Payne <terryp@cs.cmu.edu>
Date: Wed, 15 Aug 2001 14:43:42 -0400
To: Art Barstow <barstow@w3.org>
Cc: www-lib@w3.org
	These two test cases work fine (thanks), and are ideal if I
want to generate triples directly from the file or buffer.  But if
I want a finer grain parse of the rdf (i.e. create my own parser
callback) then I encounter problems.  I was hoping for inspiration
from the other test examples, but as I mentioned, I've been unable
to get the parser to be invoked.


> -----Original Message-----
> From: www-lib-request@w3.org [mailto:www-lib-request@w3.org]On Behalf Of
> Art Barstow
> Sent: Wednesday, August 15, 2001 11:33 AM
> To: Terry R. Payne
> Cc: www-lib@w3.org
> Subject: Re: Novice starting with RDF
> On Tue, Aug 14, 2001 at 06:46:09PM -0400, Terry R. Payne wrote:
> > 	I've built the www-lib code on a win2K machine using MSVC6, with
> > the aim of using the RDF parser code.  I've been trying to play with
> > the example source for both the rdf examples [1,2] only 
> > to find that whilst the rdf file is retrieved, the rdf parser is never
> > invoked (i.e. I can't seam to get the registered RDF handler to execute
> > when testing with the sample files in the examples directory [3]).
> > 
> > Any advice (or pointers to FAQs etc)?
> When I added a couple of new APIs to this RDF parser:
>  http://dev.w3.org/cvsweb/libwww/Library/src/HTRDF.c
> I also created some test cases that use the APIs and the triple
> handler mechanism.  See the following for more information:
>  http://dev.w3.org/cvsweb/libwww/Library/Examples/rdf_parse_buffer.c
>  http://dev.w3.org/cvsweb/libwww/Library/Examples/rdf_parse_file.c
> Art Barstow
> ---
Received on Wednesday, 15 August 2001 14:47:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:39 GMT