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

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

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Thu, 03 May 2012 00:16:06 -0400
Message-ID: <4FA20686.9050604@digitalbazaar.com>
To: Alex Milowski <alex@milowski.com>
CC: W3C RDFWA WG <public-rdfa-wg@w3.org>
On 04/30/2012 08:13 PM, Alex Milowski wrote:
> B. if a resource is present identified by the resolved value of the
> "about" attribute.
>
> For this test case to be correct, it must be (B).

That is correct. Shane added some editorial text to Section 7.4 of RDFa
Core 1.1 to clarify this case:

"""
NOTE: A related consequence of this is that when the value of an
attribute of this datatype is an empty SafeCURIE (e.g., @about="[]"),
that value does not result in an IRI and therefore the value is ignored.
"""

You can view the change here:

https://www.w3.org/2010/02/rdfa/sources/rdfa-core/#s_curieprocessing

This means that out of these processing steps:

  * by using the resource from @about, if present, obtained according
    to the section on CURIE and IRI Processing;
  * otherwise, if the element is the root element of the document, then
    act as if there is an empty @about present, and process it according
    to the rule for @about, above;
  * otherwise, if parent object is present, new subject is set to the
    value of parent object.

The first rule doesn't match because the CURIE [] does not result in an
IRI, and thus the about="[]" is ignored, the second rule doesn't match
because we're not on the root element, so the third rule matches.

We will get an official response back to you by tomorrow after the
telecon, however, if you're happy with this editorial change please
respond to this e-mail and let us know as soon as possible as we're
under a very tight deadline. If you are not happy with the change,
please let us know exactly why.

-- manu

-- 
Manu Sporny (skype: msporny, twitter: manusporny)
President/CEO - Digital Bazaar, Inc.
blog: PaySwarm Website for Developers Launched
http://digitalbazaar.com/2012/02/22/new-payswarm-alpha/
Received on Thursday, 3 May 2012 04:16:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 3 May 2012 04:16:37 GMT