W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > September 2010

Re: empty prefix value

From: Nathan <nathan@webr3.org>
Date: Wed, 29 Sep 2010 00:19:55 +0100
Message-ID: <4CA2781B.7080900@webr3.org>
To: Shane McCarron <shane@aptest.com>
CC: RDFA Working Group <public-rdfa-wg@w3.org>
Shane McCarron wrote:
>  Err....  obviously you are thinking about this from the RDFa API 
> perspective, which is good.  I just had never considered that angle.  I 
> think the answer has to be that we don't mean xs:anyURI.  The URI has to 
> be a real, absolute URI.  You cannot do a mapping to a relative URI.  I 
> mean... you could, but the core spec says this is a bad idea.  And in my 
> opinion the behavior is unspecified.  So... a prefix mapping MUST be to 
> an absolute URI.

would recommend 'URI' as per RFC 3986 as absolute URI can't have a fragment.

The 3 obvious choices are:

    URI           = scheme ":" hier-part [ "?" query ] [ "#" fragment ]

    URI-reference = URI / relative-ref

    absolute-URI  = scheme ":" hier-part [ "?" query ]

or the same from the IRI rfc.

Best,

Nathan
Received on Tuesday, 28 September 2010 23:20:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 04:55:07 GMT