Re: RDFa in HTML 4

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.

-- 
Johannes Koch
In te domine speravi; non confundar in aeternum.
                             (Te Deum, 4th cent.)

Received on Friday, 18 July 2008 12:34:03 UTC