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

Re: Comments on http://www.w3.org/TR/2008/WD-rdfa-syntax-20080221

From: Mark Birbeck <mark.birbeck@x-port.net>
Date: Wed, 27 Feb 2008 17:43:47 +0000
Message-ID: <a707f8300802270943g551d6217j10f7cb8644c9a729@mail.gmail.com>
To: "Johannes Koch" <koch@w3development.de>
Cc: public-rdf-in-xhtml-tf@w3.org

Hi Johannes,

>  Johannes Koch schrieb:
> > <http://www.ietf.org/rfc/rfc3986.txt> Page 31 (section 5.2.2):
>  >
>  > if (R.path == "") then
>  >                T.path = Base.path;
>  >
> So I guess Ben is right and Sun is wrong :-)

That would depend on how resolve() is defined. :) But yes, the
important thing for us is that the RDFa spec is correct.

Note also that a welcome side effect of placing an implied @about on
<head> and <body> is that by default, any triples relate to the
document, and not to the URL used to retrieve it.

For example, take Ivan's page:


You'll see that there are elements in the body like this:

    <div about="#me" instanceof="foaf:Person">
      <h1 property="foaf:name">Ivan Herman</h1>
    <span rel="foaf:primaryTopic" resource="#me"> </span>

This should give:

    foaf:name "Ivan Herman" .

    foaf:primaryTopic <http://www.w3.org/People/Ivan/#me> .

Note that since the 'primary topic' of the document is some triples
about Ivan, we would not want this bunch of triples to change if the
document were passed to an RDFa parser using this:


The relative path algorithm nicely removes the fragment identifier of
the base URL, so @about="" tidies this up neatly for us.



  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
    EC2A 4RR
Received on Wednesday, 27 February 2008 17:44:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:01:55 UTC