W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > January 2008

Re: Does @instanceof apply to @href?

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Mon, 21 Jan 2008 23:17:56 -0500
Message-ID: <47956E74.50404@digitalbazaar.com>
To: RDFa <public-rdf-in-xhtml-tf@w3.org>

Ben Adida wrote:
> I note that you were recently quite unhappy with the possibility that
> @instanceof would apply to @href/@resource (which is reminiscent of my
> proposal). Have you changed your mind?

I'm still unhappy about @instanceof applying to @href/@resource, but see
it as a possible solution to your, and possibly Mark's, "logical
consistency problem". If we have @instanceof apply to @href/@resource,
we create a new "complicated for XHTML developers" problem.

I still assert that we can make this decision separately from the
"@href/@resource complete hanging @rels" discussion. I guess that's
neither here nor there since we seem to be having all these
conversations at the same time anyway.

IMHO, there is no "logical consistency problem". If the rules state that
@instanceof only applies to @about and @src, then that's all it applies
to. If @about and @src are not on the same node, then a bnode is created.

The reason I don't think this position is inconsistent is because
@instanceof doesn't have any partner attribute. For example: @rel has
@rev, @about/@resource/@href have each other, but there is no partner
for @instanceof. Therefore, it isn't that much of a stretch that it
might have different processing rules. Sure, it adds some complexity in
understanding RDFa, but reduces complexity in writing it... which, I
thought, is what we were going for with the "@instanceof only applies to
@about, @src, or creates a new bnode" proposal.

The only change that would need to be made to support the "@instanceof
only applies to @about, @src, or creates a new bnode" proposal is:

RDFa Syntax Document, Section 5.3.2.4:
----------------------------------------------------------------------
CURRENT TEXT:
The [current element identifier] is set to the value of @about, if
present, or the value of @resource, if present, or the value of @href,
if present, or the value of @src, if present, or a [blank node].

PROPOSED TEXT:
The [current element identifier] is set to the value of @about, if
present, or the value of @src, if present, or a [blank node].
----------------------------------------------------------------------

-- manu

-- 
Manu Sporny
President/CEO - Digital Bazaar, Inc.
blog: Intro to the Semantic Web in 6 minutes (video)
http://blog.digitalbazaar.com/2007/12/26/semantic-web-intro
Received on Tuesday, 22 January 2008 04:18:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 January 2008 04:18:11 GMT