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

RDF parser updates

From: Art Barstow <barstow@w3.org>
Date: Thu, 17 Aug 2000 10:05:30 -0400 (EDT)
To: www-lib@w3.org
Message-ID: <20000817100528.A8959@w3.org>

I recently committed the following changes to the libwww RDF
parser (libwww/Library/src/HTRDF.c):

  Fixed a memory leak.  (HTElement structures for elements
  within a property with parseType="Literal" were not free'd
  after the parser was done.)

  Bug fixes. Added code to circumvent calls to HTSAlloc 
  (via StrAllocCopy) when the src and dest were identical (this 
  causes a free'd pointer to be used) or both NULL.

  Changed addMarkup{Add,End} to make one call to 
  StrAllocMCat instead of multiple StrAllocCat calls.

I intend to make the following additional changes:

  Add a new API to the RDF parser that parses a buffer.  [This
  could be useful when RDF is embedded in XML.]

  Add two new programs to Library/Examples: rdf_parse_file
  (tests HTRDFParseFile()) and rdf_parse_buffer (test HTRDFParseBuffer()).

  Add a few test cases to Library/Examples/RDF

Arthur Barstow
MIT: +1-617-253-7697
Mob: +1-617-515-0256
Received on Thursday, 17 August 2000 10:20:58 UTC

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