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

Re: Test Case #105: inner @rel is neither CURIE nor link type behavior

From: Mark Birbeck <mark.birbeck@x-port.net>
Date: Sat, 10 May 2008 16:38:59 +0100
Message-ID: <a707f8300805100838r41dce7afs40b89685928e96cf@mail.gmail.com>
To: "Manu Sporny" <msporny@digitalbazaar.com>
Cc: "RDFa mailing list" <public-rdf-in-xhtml-tf@w3.org>

Hi Manu,

This is *not* what should be generated. :)

It should be:

  <> dc:creator _:a .

However, I can't tell whether the @href should be a @src--if it is,
then your test is correct, but then I don't see what the second @rel
is doing.

Regards,

Mark

2008/5/10 Manu Sporny <msporny@digitalbazaar.com>:
>
>  Purpose:
>
>  This test case checks the behavior of triple generation in a corner case
>  where the inner @rel is neither a CURIE or a LinkType, but a triple is
>  expected to be generated.
>
>  ====================== Test Case 105 =============================
>
>  ---------------------Test Case 105 XHTML--------------------------
>  <?xml version="1.0" encoding="UTF-8"?>
>  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
>                       "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
>  <html xmlns="http://www.w3.org/1999/xhtml"
>       xmlns:dc="http://purl.org/dc/elements/1.1/">
>    <head>
>       <title>Test 0105</title>
>    </head>
>    <body>
>       <p rel="dc:creator">Ben created this page:
>          <img rel="myfoobarrel" href="http://example.org/ben.jpg" />
>       </p>
>    </body>
>  </html>
>  -----------------------------------------------------------------
>
>  ---------------------Test Case 105 SPARQL -----------------------
>  ASK WHERE {
>  <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0105.xhtml>
>    <http://purl.org/dc/elements/1.1/creator>
>       <http://example.org/ben.jpg> .
>  }
>  -----------------------------------------------------------------
>
>  -- manu
>
>
>



-- 
 Mark Birbeck

 mark.birbeck@x-port.net | +44 (0) 20 7689 9232
 http://www.x-port.net | http://internet-apps.blogspot.com

 x-port.net Ltd. is registered in England and Wales, number 03730711
 The registered office is at:

 2nd Floor
 Titchfield House
 69-85 Tabernacle Street
 London
 EC2A 4RR
Received on Saturday, 10 May 2008 15:39:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 May 2008 15:39:33 GMT