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

Re: Test 0121 / Safe Cure [] in @about

From: Gregg Kellogg <gregg@greggkellogg.net>
Date: Fri, 27 Apr 2012 21:07:20 -0400
To: Alex Milowski <alex@milowski.com>
CC: W3C RDFWA WG <public-rdfa-wg@w3.org>
Message-ID: <1B331189-7AA8-4AE8-B057-4B6C368C346B@greggkellogg.net>
On Apr 27, 2012, at 5:35 PM, Alex Milowski wrote:

> Then the sparql is wrong?   I know my implementation is handling an
> empty safe curie incorrectly but it looks to me like the correct
> expansion is nothing.  As such, you shouldn't get any triples.

No, typically if you see four processors all passing a test, the test isn't going to be too wrong.

In this case, the @about=[] and @resource=[] don't generate IRIs, so they're ignored. The subject is set in the first <p> and is in place for dc:title and dc:contributor. The test is to make sure that an empty CURIE doesn't set the subject or object.

Note that this is an XHTML test only, as it's not valid HTML due to the recursive <p> elements. It's possible that you're getting tripped up on the DOM.


> On Fri, Apr 27, 2012 at 5:30 PM, Gregg Kellogg <gregg@greggkellogg.net> wrote:
>> Basically, a value which doesn't have either a prefix or a suffix is treated as a term. In this case the term is "", which is not defined. That's how my processor handles it.
>> A prefix is an NCName, which must have at least one character. To be the default prefix, it would need to be separated from the suffix by a ":", so it's a term, which is not defined.
> -- 
> --Alex Milowski
> "The excellence of grammar as a guide is proportional to the paucity of the
> inflexions, i.e. to the degree of analysis effected by the language
> considered."
> Bertrand Russell in a footnote of Principles of Mathematics
Received on Saturday, 28 April 2012 01:07:59 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:19:56 UTC