- From: Toby Inkster <tai@g5n.co.uk>
- Date: Sat, 18 Sep 2010 16:05:41 +0100
- To: martin@weborganics.co.uk
- Cc: Ivan Herman <ivan@w3.org>, Manu Sporny <msporny@digitalbazaar.com>, RDFa WG <public-rdfa-wg@w3.org>, Sebastian Heath <sebastian.heath@gmail.com>
On Fri, 17 Sep 2010 10:33:07 +0100 Martin McEvoy <martin@weborganics.co.uk> wrote: > <figcaption > xmlns:md="http://www.w3.org/1999/xhtml/microdata#"property="md:http%3A%2F%2Fn.whatwg.org%2Fwork%23%3Atitle"about="_:HTMLAutoNode000">The > house I found.</figcaption> > > shouldn't the correct output be something like... > > <figcaption > xmlns:work="http://n.whatwg.org/work#"property="work:title"about="_:HTMLAutoNode000">The > house I found.</figcaption> No, the crazy-looking predicate URIs are mandated by the Microdata spec: http://www.w3.org/TR/microdata/#generate-the-triples-for-an-item See step 6.1.5, "If name contains no U+003A COLON characters". If you want non-crazy predicate URIs in Microdata, you need to use full URIs. -- Toby A Inkster <mailto:mail@tobyinkster.co.uk> <http://tobyinkster.co.uk>
Received on Saturday, 18 September 2010 15:06:22 UTC