W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > January 2011

URI/IRI Normalization in RDFa environments

From: Nathan <nathan@webr3.org>
Date: Wed, 19 Jan 2011 22:26:36 +0000
Message-ID: <4D37651C.9090909@webr3.org>
To: RDFA Working Group <public-rdfa-wg@w3.org>
CC: Ivan Herman <ivan@w3.org>, Manu Sporny <msporny@digitalbazaar.com>
Hi All,

It appears that all the major browser vendors do URI/URL normalization 
on relative refs, and values in common html attribute (@href and @src) - 
meaning that the URI/IRIs people can pull from RDFa when in an 
environment don't match the non-normalized RDF URI References intended.

I've thrown together a quick HTML only page to illustrate:
   http://webr3.org/urinorm/html

And also an XHTML+RDFa 1.0 page here:
   http://webr3.org/urinorm/2

Also pyRDFa and check.rdfa.info which fully normalizes values, and 
pyRDFa which seems to have conflicting functionality, producing htTp:// 
vs http:// depending on whether the value has needed path resolution 
(whilst treating the rest of the URI as case sensitive, as per RDF specs).

May be worth checking to see what you're own libraries do with the /2 
example.

Best,

Nathan
Received on Wednesday, 19 January 2011 22:27:40 GMT

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