W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > March 2012

Re: Preliminary EARL report

From: Gregg Kellogg <gregg@kellogg-assoc.com>
Date: Wed, 14 Mar 2012 22:34:31 -0400
To: Niklas Lindström <lindstream@gmail.com>
CC: Manu Sporny <msporny@digitalbazaar.com>, public-rdfa-wg WG <public-rdfa-wg@w3.org>
Message-ID: <80057BAD-2A33-4FFA-9D58-2496A93D2CF3@greggkellogg.net>
It runs quite fast against many of the host languages, but doesn't seem to return for HTML4 or XHTML1; any idea why that might be? It seems to return 503 "Service Unavailable".

Regarding Test 0198, mine returns the following:

@base <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0198.xhtml> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

<http://www.example.org/me#mark> a foaf:Person;
   foaf:firstName "Mark";
   foaf:name "<span xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:foaf=\"http://xmlns.com/foaf/0.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" property=\"foaf:firstName\">Mark</span> <span xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:foaf=\"http://xmlns.com/foaf/0.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" property=\"foaf:surname\">Birbeck</span>"^^rdf:XMLLiteral;
   foaf:surname "Birbeck" .

For XHTML1 and XHTML5, This does include an @xmlns, and it passes the test; what is it that you think should be different?


On Mar 14, 2012, at 4:56 PM, Niklas Lindström wrote:

> Hello!
> 2012/3/14 Gregg Kellogg <gregg@kellogg-assoc.com>:
>> On Mar 14, 2012, at 8:28 AM, Niklas Lindström wrote:
>>> My problems are related to multilines, and these tests pass if I run
>>> them manually using ARQ [2].
>> Do you think the SPARQL is wrong, or that the processor isn't interpreting this properly? Send me your result output and I'll check it out.
> The culprit was the mime-type I sent: "text/plain; charset=utf-8".
> While "text/plain" is for ntriples, I actually produce turtle-style
> UTF-8 literals using triple quotes when encountering newlines. So I
> corrected that to "text/turtle" and all those tests pass as well! I'm
> down to only one remaining now:
>>> Other than that, my implementation only
>>> fails on Test 0198 [3], which is missing an @xmlns. That may be a bug
>>> in the test though?
>> Yes, I think it is. I'll look at that.
> If xmlns="http://www.w3.org/1999/xhtml" is added to "tests/0198.txt",
> clj-rdfa will pass all the tests. (Yay!)
> I have deployed my implementation to Heroku (the free option, so it
> might take a while to start up at times). It might be good to set up a
> proper domain for it before it's ready to be added to the harness
> though. But you can try it out now by using
> "http://clj-rdfa.herokuapp.com/extract.ttl?url=" as the value for
> 'other' processor.
> (I'm also improving the interface for it so it can be seamlessly used
> in plain Java, and thus adapted to RDF libraries such as Jena and
> Sesame. When that's done it'll be a working RDFa 1.1 option for Java
> in general.)
> Best regards,
> Niklas
Received on Thursday, 15 March 2012 02:35:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:05:30 UTC