Possible test case candidate?

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 UTC