Some RDFa 1.1 Core edge cases that we need to clarify

EXAMPLE 1:

<html vocab="http://example.com/1#">
  <head>
    <base href="http://example.com/base" />
  </head>
  <body vocab="2#">
    <h1 property="title">Hello World</h1>
  </body>
</html>

What is the triple here? @vocab is supposed to be an absolute URI, but
here on <body> it's relative. So, should parsers error-correct and thus
create a triple with predicate <http://example.com/2#title>; should
they ignore that vocab attribute, and generate a triple with predicate
<http://example.com/1#title>; or should the invalid vocab value reset
the default vocabulary to undefined, meaning that the token "title"
can't be expanded to anything, thus no triple is generated?


EXAMPLE 2:

A profile defines:

	[] rdfa:term "Agent" ; rdfa:uri foaf:Agent .
	[] rdfa:term "agent" ; rdfa:uri event:agent .
	[] rdfa:term "name" ; rdfa:uri foaf:name .


That's fine, and this should work:

	<div about="#myevent" rel="agent">
	  <span typeof="Agent" property="name">Toby Inkster</span>
	</div>

But what happens here? It doesn't seem to be well-defined.

	<div about="#myevent" rel="AGENT">
	  <span typeof="AGENT" property="NAME">Toby Inkster</span>
	</div>


-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>

Received on Sunday, 24 October 2010 12:35:16 UTC