« Python Pain Points | Main | Is Google using Zope/Plone? »

RDFa and QNames in content

From Evan Prodromou

"I think that the smart money is on microformats, but having RDFa become part of HTML 2 makes microformats.org's future seem kind of like a cul-de-sac."

Here's another take - RDFa becoming part of XHTML2 makes XHTML2 less likely to see wide deployment. Here's some RDFa from Evan:

<div class="vcard" xmlns:v="http://www.w3.org/2001/vcard-rdf/3.0#"
         about="http://evan.prodromou.name/">
      <img src="http://evan.prodromou.name/images/Evan48.jpg" alt="photo" property="v:photo" />
      <a property="v:FN" href="http://evan.prodromou.name/">Evan Prodromou</a>

See those values, like "v:photo", and "v:FN"? They're known as "QNames in content" and technically they have no merit. Zip. From the W3C TAG Finding:

"In so far as the identification mechanism of the Web is the URI and QNames are not URIs, it is a mistake to use a QName for identification when a URI would serve."

Given the history of QNames in content at the W3C, to see them designed in like this is quite something. Given it's an obviously bad idea and violates a TAG directive, it's difficult to see this making it to Recommendation.


June 4, 2007 08:58 PM

Comments

Ian Davis
(June 4, 2007 05:45 PM #)

(June 4, 2007 07:48 PM #)

This led directly to my issues (see: http://copia.ogbuji.net/blog/2007-05-21/planetatom-information-pipeline) with RDFa in PlanetAtom (I'm considering switching to eRDF for this reason)

Evan Prodromou
(June 8, 2007 12:30 AM #)

"v:photo" in this case is not a qname, but a " CURIE"">http://www.w3.org/TR/2007/WD-curie-20070307/">CURIE" (short for "compact URI"). Given that, do your objections still apply?

Evan Prodromou
(June 8, 2007 12:34 AM #)

"v:photo" in this case is not a qname, but a " CURIE"">http://www.w3.org/TR/2007/WD-curie-20070307/">CURIE" (short for "compact URI"). Given that, do your objections still apply?

Post a comment

(you may use HTML tags for style)




Remember Me?

Trackback Pings

TrackBack URL for this entry:
http://www.dehora.net/mt/mt-tb.cgi/2000