- From: Ivan Herman <ivan@w3.org>
- Date: Wed, 21 Apr 2010 17:17:44 +0200
- To: Mark Birbeck <mark.birbeck@webbackplane.com>
- Cc: Toby Inkster <tai@g5n.co.uk>, RDFa WG <public-rdfa-wg@w3.org>
- Message-Id: <53E32978-B734-4EA5-BAC0-A10D95BE3B1C@w3.org>
To be honest I do not remember the details of the discussion... But you are right. Let me withdraw the 'mistake' remark:-)
Toby's proposal is a little bit different, though (unless I misunderstand him). Toby, do you propose that if I say
<html>
<head profile="http://bla">
...
</head>
<body>
...
</body>
</html>
Then the effect of the http://bla profile is also valid in the <body>? So this is reminiscent of the treatment of <base> insofar as an element within the <head> has an effect over the whole document. This breaks the clean model of using the XML tree structure.
We did not have a choice with <base>; that is inherited from HTML. I am not sure doing something similar for another attribute would really be a good idea. If we do it for @profile, we may also want to do it with @vocab... Also, if I put an explicit @about into the <head> that does _not_ affect the <body>, so there would be some inconsistency, too.
Cheers
Ivan
On Apr 21, 2010, at 16:31 , Mark Birbeck wrote:
> Hi Ivan,
>
>> (I personally happen to think that giving this separate treatment to <head> is a mistake. But that may only be me.)
>
> I'm pretty certain it was you who spotted that if you did this:
>
> <html typeof="foaf:Document">
>
> or this:
>
> <head typeof="foaf:Document">
>
> you would end up with a bnode as the subject of all of the triples in the head.
>
> (I'm not blaming you -- it was an important observation!)
>
> By having an implied @about value we ensure that the triples in the
> head always refer to the current document.
>
> I wouldn't claim it is perfect, but I don't recall anyone coming up
> with a better solution.
>
> We could of course ban @typeof from head, but we've tended to avoid
> those kinds of draconian approaches.
>
> Regards,
>
> Mark
>
> --
> Mark Birbeck, webBackplane
>
> mark.birbeck@webBackplane.com
>
> http://webBackplane.com/mark-birbeck
>
> webBackplane is a trading name of Backplane Ltd. (company number
> 05972288, registered office: 2nd Floor, 69/85 Tabernacle Street,
> London, EC2A 4RR)
----
Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf
Attachments
- application/pkcs7-signature attachment: smime.p7s
Received on Wednesday, 21 April 2010 15:18:59 UTC