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 20:30:19 -0400
To: Alex Milowski <alex@milowski.com>
CC: W3C RDFWA WG <public-rdfa-wg@w3.org>
Message-ID: <EE111DDE-F1D1-49C5-A586-4EAB9015D5FC@greggkellogg.net>
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.

Gregg

On Apr 27, 2012, at 5:16 PM, Alex Milowski wrote:

> Test 0121 contains:
> 
> <p about="http://example.org/">
>                <span about="[]" property="dc:title">Test Case 0121</span>
>                checks to make sure RDFa processors resolve the empty
> CURIE correctly.
>                <p resource="[]">
>                        <span property="dc:contributor">Shane McCarron</span>
>                        contributed to this test.
>                </p>
>        </p>
> 
> the output expected is:
> 
> <http://example.org/> <http://purl.org/dc/elements/1.1/title> "Test
> Case 0121" .
> <http://example.org/> <http://purl.org/dc/elements/1.1/contributor>
> "Shane McCarron" .
> 
> but I can't seem to find the appropriate language that talks about
> processing an empty safe CURIE value.   The test would seem to
> indicate the current subject would be used but I just don't see that
> in section 6.
> 
> -- 
> --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 00:31:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 28 April 2012 00:31:02 GMT