W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > January 2008

RE: librdfa - a pure C RDFa parser

From: Hausenblas, Michael <michael.hausenblas@joanneum.at>
Date: Thu, 31 Jan 2008 10:51:35 +0100
Message-ID: <768DACDC356ED04EA1F1130F97D29852014EABCB@RZJC2EX.jr1.local>
To: "Manu Sporny" <msporny@digitalbazaar.com>
Cc: "RDFa mailing list" <public-rdf-in-xhtml-tf@w3.org>


Manu,

1. Wow! Great! 
2. Damn, you've beat us (we're working on a C# implementation :)

Cheers,
	Michael

----------------------------------------------------------
 Michael Hausenblas, MSc.
 Institute of Information Systems & Information Management
 JOANNEUM RESEARCH Forschungsgesellschaft mbH
  
 http://www.joanneum.at/iis/
----------------------------------------------------------
 

>-----Original Message-----
>From: public-rdf-in-xhtml-tf-request@w3.org 
>[mailto:public-rdf-in-xhtml-tf-request@w3.org] On Behalf Of Manu Sporny
>Sent: Thursday, January 31, 2008 10:24 AM
>To: RDFa mailing list
>Subject: librdfa - a pure C RDFa parser
>
>
>librdfa is a pure C implementation of a standards-compliant 
>RDFa parser.
>The library is quite easy to use (there are only 5 functions). librdfa
>is stream-based, very small and quite fast.
>
>You can download the source using git:
>
>git clone http://rdfa.digitalbazaar.com/librdfa.git
>
>This implementation was completed using the latest RDFa Syntax Document
>specification (Jan 25th, 2008). I followed the processing rules section
>exactly as written. It took around 43 hours to implement. I have some
>feedback for Mark on the processing section (all very minor issues). It
>was much easier than I thought it would be... constructing a set of
>steps that were that easy to follow takes a considerable 
>amount of skill
>- much respect to Mark for laying the rules out clearly, concisely and
>correctly :)
>
>The good news is that many of the test cases that I tried generate
>triples, some of them are even correct! I just got done with the first
>full implementation of the parser, so there are loads of bugs around,
>I'm sure. The library is available under a
>BSD/GPL/whatever-will-get-it-in-as-many-applications-as-possibl
>e license.
>
>Here are some "features":
>
>- uses expat for the underlying XML parser
>- small in size - 19KB library
>- big in heart* (little code that does big things)
>- cross-platform (compiles for Linux now, Windows in two weeks)
>- stream-based (SAX based - no DOM processing)
>- small execution footprint (~2KB per RDFa context)
>- designed to be Swig'ed (C#, Lua, Perl, PHP, Python, Ruby)
>
>I'll be working towards getting this parser fully compliant with the
>test suite in the next couple of weeks. We're going to work on
>integrating it into Firefox (via a native XPCOM component) in the weeks
>after that.
>
>-- manu
>
>* - not actually a feature
>
>-- 
>Manu Sporny
>President/CEO - Digital Bazaar, Inc.
>blog: Intro to the Semantic Web in 6 minutes (video)
>http://blog.digitalbazaar.com/2007/12/26/semantic-web-intro
>
>
>
Received on Thursday, 31 January 2008 09:52:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 31 January 2008 09:52:44 GMT