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

Re: Are RDFa parsers responsible for URL-encoding values when generating URLs?

From: Shane McCarron <shane@aptest.com>
Date: Tue, 07 Apr 2009 07:24:06 -0500
Message-ID: <49DB45E6.2000504@aptest.com>
To: KANZAKI Masahide <mkanzaki@gmail.com>
CC: Manu Sporny <msporny@digitalbazaar.com>, RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>
I agree that they MUST support IRIs as input.  I think the question here 
is what should they generate as output.  I feel like the right answer is 
that they should generate IRIs and that it is the responsibility of the 
input to ensure the IRI is legal.  All the RDFa spec says is that the 
IRI associated with the prefix is concatenated with the suffix.  It 
doesn't say anything about transformation.

KANZAKI Masahide wrote:
> Hi
>
> 2009/3/28 Manu Sporny <msporny@digitalbazaar.com>:
>   
>> If there are no objections, I can create a test case to ensure that
>> percent-encoding is performed before the RDFa parser generates a triple.
>>     
>
> I think RDFa parsers should accept IRI refs [1], not performing
> percent encoding for multi-byte characters that are allowed in IRIs.
>
> cheers,
>
> [1] http://tools.ietf.org/html/rfc3987
>
>   

-- 
Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@aptest.com
Received on Tuesday, 7 April 2009 12:25:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 7 April 2009 12:25:05 GMT