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

Re: Fwd: Put <> around URIs. Re: draft CURIE draft feedback

From: Ben Adida <ben@adida.net>
Date: Mon, 14 Apr 2008 13:58:22 -0700
Message-ID: <4803C56E.1050907@adida.net>
To: Shane McCarron <shane@aptest.com>
CC: Tim Berners-Lee <timbl@w3.org>, W3C RDFa task force <public-rdf-in-xhtml-tf@w3.org>

Shane McCarron wrote:
> This has nothing to do with href.

Really? Did we indeed vote to disallow:

<div href="[_:foo]">

?

I think I would be okay if we had, but even so, having different syntax 
for URIs in @resource and @href would be quite confusing:

<a href="http://example.org" resource="<http://example.org/alternate>">

Changing the way URIs are written in HTML... that's some pretty risky 
stuff. I'm *much* more in favor of thinking about better ways to 
represent CURIEs, even if they require a few more characters.

(To make things worse, I'm pretty sure you have to XML-escape the < and 
 > characters inside attribute values if you want things to validate, 
and that gets quite ugly.)

-Ben
Received on Monday, 14 April 2008 20:59:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 14 April 2008 20:59:01 GMT