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

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.

Gregg

> 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