Re: ISSUE-76: If we fixed namespaces, does RDFa still have problems?

On Fri, Dec 11, 2009 at 1:27 AM, Manu Sporny <msporny@digitalbazaar.com> wrote:
> RDFa 1.1 will allow for the use of RDFa without declaring any namespaces
> and using vocabularies and keywords instead. For example:
>
> <p vocab="http://example.org/foaf.html" about="#robert" typeof="Person">
>   My name is <span property="name">Robert Ennals</span>.
> </p>

While this is simpler than actually declaring namespaces, is it
necessary to throw in a URL for vocab="" if the vocabulary is meant to
be used by in-page JavaScript and not used by third-party sources?  I
believe this is one of the use-cases for microdata, although I guess
it hasn't historically been something RDFa is very concerned about.
For instance:

[[
USE CASE: Annotate structured data that HTML has no semantics for, and
   which nobody has annotated before, and may never again, for private use or
   use in a small self-contained community.
]]
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-April/019374.html

It doesn't seem like a URL should have to be specified in this case.
The author of the page should be able to change the names used in the
event of a conflict, just like he could change the names of CSS
classes, JavaScript functions, etc.  The idea would be that you could
store structured data in the page and retrieve it conveniently via the
JavaScript APIs.

Received on Friday, 11 December 2009 17:53:58 UTC