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

Possible test case candidate?

From: Toby Inkster <tai@g5n.co.uk>
Date: Fri, 11 Dec 2009 16:43:51 +0000
To: W3C RDFa task force <public-rdf-in-xhtml-tf@w3.org>
Message-ID: <1260549831.32395.51.camel@ophelia2.g5n.co.uk>
What triple should this generate?

	<div xmlns:blank="_:"
	     about="[blank:foobar]"
	     rel="next"
	     resource="[blank:foobaz]"
	     ></div>

Here are a few candidates as N-Triples:

# Just treat the CURIE prefix like any other, even though "_" is not
# a registered URI scheme (and syntactically cannot be).
<_:foobar>
  <http://www.w3.org/1999/xhtml/vocab#next> <_:foobaz> .

# This is what my parser currently does because it passes resources
# about as plain strings, so the fact that they're not really bnodes
# gets lost.
_:foobar
  <http://www.w3.org/1999/xhtml/vocab#next> _:foobaz .

# If "blank" is completely ignored as a CURIE prefix, then perhaps
# @about and @resource are treated as relative URIs?
<%5Bblank:foobar%5D>
  <http://www.w3.org/1999/xhtml/vocab#next> <%5Bblank:foobar%5D> .

# Or maybe as references to the current document?
<>
  <http://www.w3.org/1999/xhtml/vocab#next> <> .

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Friday, 11 December 2009 16:44:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 11 December 2009 16:44:36 GMT