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

Re: RDFa in HTML 4

From: Ivan Herman <ivan@w3.org>
Date: Fri, 18 Jul 2008 14:40:47 +0200
Message-ID: <48808F4F.9040601@w3.org>
To: Johannes Koch <koch@w3development.de>
CC: public-rdf-in-xhtml-tf@w3.org

Johannes Koch wrote:
> Shane McCarron schrieb:
>> Johannes Koch wrote:
>>> If you want to include RDFa into HTML, you have to change the HTML 
>>> DTD anyway. So why not add a namespace prefixes-URIs mapping attribute?
>>> <div ns-mapping="dcterms http://purl.org/dc/terms/ audio 
>>> http://purl.org/media/audio#" ... >
>>> ...
>>> </div>
>>> This looks like schemaLocation attribute in XML Schema, here being a 
>>> list of tuples (prefix and URI). However this approach does not work 
>>> with default namespaces.
>> Exactly.  And something like that might be possible.  The good news is 
>> that CURIEs don't use the default namespace, so that is a non-issue.
> And, of course, with CURIEs it's not really a prefix to _namespace URI_ 
> mapping, but prefix to _URI start part_ mapping. So the attribute name 
> ns-mapping is not exactly appropriate.

I actually have, in my implementation, an optional feature that 
implements exactly that, but with the attribute name @prefix (same 
keyword as the one used in SPARQL or turtle...)



Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf

Received on Friday, 18 July 2008 12:41:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:28 UTC