- From: Mark Birbeck <mark.birbeck@x-port.net>
- Date: Wed, 27 Feb 2008 17:43:47 +0000
- 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: <http://www.w3.org/People/Ivan/> You'll see that there are elements in the body like this: <body> <div about="#me" instanceof="foaf:Person"> <h1 property="foaf:name">Ivan Herman</h1> . . . </div> <span rel="foaf:primaryTopic" resource="#me"> </span> </body> This should give: <http://www.w3.org/People/Ivan/#me> foaf:name "Ivan Herman" . <http://www.w3.org/People/Ivan/> 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: <http://www.w3.org/People/Ivan/#me> The relative path algorithm nicely removes the fragment identifier of the base URL, so @about="" tidies this up neatly for us. Regards, Mark -- 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 Wednesday, 27 February 2008 17:44:09 UTC